[OpenLayers-Users] Exception Error

R. Ortner reinhard.ortner at edu.fh-kaernten.ac.at
Tue Dec 4 05:54:56 EST 2007


I tried "which phyton" and get /usr/bin/python. So i changed the first line
in proxy.cgi in my /var/www/cgi-bin/proxy.cgi file to #!/usr/bin/python
but i still get an internal server error when i try to call this file?!!



David E. Reksten wrote:
> 
> On 04/12/2007, R. Ortner <reinhard.ortner at edu.fh-kaernten.ac.at> wrote:
>>
>> hi, when i type python i get:
>>
>> Python 2.4.3 (#1, Jul 26 2006, 20:13:39)
>> [GCC 3.4.6] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>>
>>
>> so i guess it is installed, but when i try to call the
>> http://172.xx.xx.xx/cgi-bin/proxy.cgi i get an 500 Internal server error.
>>
>> do i have to change someting in the cgi script (first line is:
>> #!/usr/bin/env python)
>>
>> how i can find out where python is installed?
> 
> On Linux, you can usually call "which python" from the command shell.
> See also http://www.xs4all.nl/~carlo17/which/
> 
> Regards,
> David
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/Exception-Error-tf4936210.html#a14148390
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list