[Chameleon] proxy problems..

Julien-Samuel Lacroix jlacroix at mapgears.com
Mon Mar 20 10:53:32 EST 2006


Hi,
If you do a "View Source" in your browser, you will get the URL to your 
drawmap.php in a JS variable.
var gMapDHTMLURL = 'http://.../drawmap.php...'

If you copy paste that in another window, you will get what is return by 
the server. Try it when it works and when it don't. When it don't work, 
you will probably get a mapfile error or a session error. We will try to 
investigate from there. Don't forget to set you php.ini to show all errors:
error_reporting  =  E_ALL

Julien

Sears, Jeremy wrote:
> Hi all,
> This email is related to a couple I posted last week seeking assistance with
> my chameleon install behind a proxy... I think the nature of the issue (or
> at least how I understand it) has changed so I am posting a simmilar
> question ....
> I have a mapserver/chameleon application installed on one of our networked
> servers. When I look at my application from behind our LAN, everything works
> fine. When I look at it from the web, the mapserver generated images dont
> show up. A note on web access: Inorder to get to the server from WAN, http
> requests go through a firewall/ proxy server. Obviously the server has a
> different name when one looks at its pages from WAN than from LAN. 
> 
> My entire ms4w/chameleon install is setup in a directory on the server
> simmillar to: d:/proxy/myspace/ms4w/ ..etc ..
> 
> My application files are set up in a dir simmilar to:
> d:/proxy/myspace/webappfiles/
> 
> I have made changes to the conf files so that this set-up works (for the
> most part).
> 
> Ok, my application doesnt work from the web. However, all of chameleon's
> samples work perfectly from the web! My application is not overly
> dissimmilar to the chameleon samples. This makes me think that the issue is
> a small one, perhaps a line of code im my app, or an incorrectly referenced
> file. Can anyone who is more fammilliar with chameleon suggest what might be
> goin on here? Im assuming that since cham's sample apps work fine, the
> problem is not with either of the http servers that a web client must pass
> to get to the app, and likly in my chameleon setup.
> Im going to go line by line through my files, any thoughts on where I should
> be checking?
> 
> Many 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