Hi SeeJay Try: #!C:/Python27/python.exe -u as the first line of proxy.cgi (note the forward slashes). Robert
>>> SeeJay <[email protected]> 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 [email protected] 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
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
