Please help - How do I use mapserv with a HTTP proxy server?

Eijnden, B. van den (Bart) b.vdeijnden at AGI.RWS.MINVENW.NL
Thu May 11 01:25:56 EDT 2006


How are you setting the environment variable?
 
Use:
 
SetEnv "http_proxy" "  <http://>
:@:/">http://<username>:<password>@<proxyhost>:<proxyport>"
 
in your Apache httpd.conf and restart Apache.
 
Otherwise, check the curl site for more details, libcurl is the library
Mapserver uses for this kind of thing.
 
http://curl.haxx.se/ <http://curl.haxx.se/> 
 
Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens
Brown, Jeff (C2MS)
Verzonden: woensdag 10 mei 2006 22:18
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: [UMN_MAPSERVER-USERS] Please help - How do I use mapserv with a
HTTP proxy server?
Urgentie: Hoog



I really need some help here! 
I found out that I can set an environment variable named http_proxy to
<http://> :@:">http://<username>:<password>@<proxyhost>:<proxyport>. Once I
do this, I can use wget to access a WFS service without the need for
--proxy-user and --proxy-passwd. However, even after setting this
environment variable and restarting Apache, I still get the same timeout
error when I attempt to retrieve a WFS layer.

How can I set up mapserv to use a proxy server? Or is this an Apache httpd
issue? Without a solution, I won't be able to use MapServer . . .

Thanks! 
JAB 




Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060511/c6bdb206/attachment.html


More information about the mapserver-users mailing list