[Chameleon] Chameleon images access problem ....

Julien-Samuel Lacroix jlacroix at mapgears.com
Thu Mar 16 17:07:12 EST 2006


Hi,
Did you check the error log of Apache and IIS? You should see the exact 
request to the image. That should give you good hints. Does the path to 
the image in IIS _and_ Apache config are visible from the web?

Julien

Sears, Jeremy wrote:
> Hi Julien,
> Thanks for the response.
> 
> 
>>>What is the path to the map and button images built by Chameleon?
> 
> 
> Ok, when I access the application from within the LAN: (application works
> fine from within LAN)
> 
> path to button images built by chameleon:
> http://LAN.Address/adir/ms_tmp/buttons/b9c8ba9f13a339fa082830d6adce742e7.png
> 
> Path to main map image:
> http://LAN.address/chameleon//common//wrapper/drawmap.php?map_session_mode=1
> &run_query=0&sid=4419d4e72c00c&dummy=0.26094800+1142543592&UniqId=1142543649
> 455758&gszPersistentQuery=false
> 
> and when I attempt to access the application from outside the LAN:
> 
> path to button images built by chameleon:(this image works fine)
> https://WEB.Address/adir/ms_tmp/buttons/b436d2260d70037e20a624b0767b57dfc.pn
> g
> 
> Path to main map image: (this is a blank image)
> https://WEB.Address/chameleon//skins/default/images/a_pixel.gif
> 
> 
> 
>>>Does the server is visible from the web?
> 
> Is the server visible from the web? Yes, other components of this site
> including html files and php files are all served without any problems to
> the web.
> 
> 
>>> Is there a Firewall between this machine and the web?
> 
> Yes, Im quite certian we are behind a firewall*
> 
> 
>>>folder containing the images is visible from the web?
> 
> Im quite certian it is. Apache Alias' have been created for /tmp and
> /ms_tmp. These folders are accessable, as is /ms_tmp/buttons. 
> 
> 
>>>Did you check the "Block images from this server" option on Firefox? 
> 
> The "block images from this server" option is not checked.
> 
> *The computer that has ms4w/chameleon installed is behind a firewall. Our IT
> folks have opened up access to the directory inwhich ms4w is installed. HTTP
> requests comming from the web are directed to this machiene via proxy. I
> believe its IIS that driects traffic to the ms4w/chameleon install. Do you
> think there could be somesort of configuration issue between IIS and Apache?
> Perhaps a firewall setting or 'mis-setting'?
> 
> Thanks for your help!
> Jeremy
> 
> 
> 
> 
> 
> -----Original Message-----
> From: chameleon-bounces at lists.maptools.org
> [mailto:chameleon-bounces at lists.maptools.org]On Behalf Of Julien-Samuel
> Lacroix
> Sent: March 16, 2006 4:06 PM
> To: Sears, Jeremy
> Cc: chameleon at lists.maptools.org
> Subject: Re: [Chameleon] Chameleon images access problem ....
> 
> 
> Hi,
> We'll need to dig to find this one.
> What is the path to the map and button images built by Chameleon?
> This kind of problem is usually due to Apache. Does the server is 
> visible from the web? Is there a Firewall between this machine and the 
> web? Does the folder containing the images is visible from the web?
> 
> Julien
> PS: Did you check the "Block images from this server" option on Firefox? 
> I already experience something like what you describe because of that. :)
> 
> Sears, Jeremy wrote:
> 
>>Hi All,
>>Regarding the post below, I got chameleon's elements to work. However, 
>>the map image and key map dont work. Im thinking this may be related 
>>more to mapserver rather than chameleon... Any suggestions would be great.
>> 
>>Thanks
>>Jeremy
>> 
>>
>>    -----Original Message-----
>>    *From:* chameleon-bounces at lists.maptools.org
>>    [mailto:chameleon-bounces at lists.maptools.org]*On Behalf Of *Sears,
>>    Jeremy
>>    *Sent:* March 16, 2006 11:23 AM
>>    *To:* chameleon at lists.maptools.org
>>    *Subject:* [Chameleon] Chameleon images access problem ....
>>
>>    Hi All,
>>    IM having a problem with my chameleon installation ....
>>    I have chameleon setup with ms4w on winserver2003.
>>     
>>    When I view my application from our LAN (either localhost or another
>>    computer on the LAN) the application works fine.
>>    However, when I attempt to view the application from the WAN, none
>>    of chameleon's elements work. The map, keymap, scalebar, button
>>    images .. etc all show up as broken links.
>>     
>>    I have the entire ms4w package installed in in a location off the
>>    root like:
>>     
>>    /adirectory/anotherdirectory/ms4w
>>     
>>     
>>    Does anyone have any thoughts as to why the app works fine when
>>    accessed from LAN but breaks when accesing through WAN?
>>    Thanks
>>    Jeremy
>>     
>>     
>>
>>         
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Chameleon mailing list
>>Chameleon at lists.maptools.org
>>http://lists.maptools.org/mailman/listinfo/chameleon
> 
> 

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list