Firstly, you should probably take a look at the apache error log to exactly see what the server error is due to. Secondly, you may try to install and/or load the apache2 mod_pyhton module.
Regards, Pierre On Dec 4, 2007 11:54 AM, R. Ortner <[EMAIL PROTECTED]> wrote: > > 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 <[EMAIL PROTECTED]> 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 > > [email protected] > > 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. > > _______________________________________________ > > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
