[OpenLayers-Users] Proxy.cgi not working
Robert Sanson
Robert.Sanson at asurequality.com
Mon Aug 22 17:27:26 EDT 2011
Hi SeeJay
Try:
#!C:/Python27/python.exe -u
as the first line of proxy.cgi (note the forward slashes).
Robert
>>> SeeJay <hendrix.cj at gmail.com> 23/08/2011 7:16 a.m. >>>
I've read through several other posts on this topic, but haven't been able to
resolve my problem.
I'm running OL 2.11rc1 on Win7 64bit with Apache 2.2.19 and Python 2.7.
I'm using the standard proxy.cgi from
http://trac.osgeo.org/openlayers/browser/trunk/openlayers/examples/proxy.cgi.
I'm calling it from my javascript using
OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url=";
It returns "500 Internal Server Error".
I have confirmed that python files with the .cgi extension will run: a
test.cgi script in the cgi-bin folder will execute from the command line.
I have changed the first line of the proxy.cgi file from
#!/usr/bin/env python
to
#!C:\Python27\python
I've tried disabling Kaspersky.
I'm not sure what else to try. Ideas?
Thanks in advance.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Proxy-cgi-not-working-tp6712895p6712895.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system.
This message has been scanned for Malware and Viruses by Websense Hosted Security.
www.websense.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110823/c256c970/attachment.html
More information about the Users
mailing list