My own pyhton in CGI...

Adrian Eyre a.eyre at optichrome.com
Fri Oct 1 09:08:43 EDT 1999


> So - I installed my own in my home directory (which works just fine)
> but when I try to write something like
>
>   #!/my/home/directory/foo/bar/python
>
> it doesn't work.

The only reasons I can think of are:
1. httpd doesn't have permission to read/execute the script
1. httpd doesn't have permission to read/execute
/my/home/directory/foo/bar/python
2. httpd performs a chroot before running cgi scripts

--------------------------------------------
Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233  Fax: +44 1483 760 644
http://www.optichrome.com
--------------------------------------------





More information about the Python-list mailing list