Python & Apache
Jeff Bauer
jbauer at rubic.com
Tue Jan 4 17:32:56 EST 2000
Ivan Van Laningham wrote:
> The biggest gotcha is that the Python scripts *must* start with
>
> #!c:\Python\python.exe
>
> (or wherever Python actually lives). You can't use
>
> #!/usr/local/bin/python
>
> because Apache won't find it, even if the path exists
> on Apache's drive--it insists on the driveletter and
> the backslashes.
Hi Ivan.
My notes document otherwise. I could be wrong, since
I don't use the latest Win32/Apache, but I just copy
python.exe into C:\usr\local\bin and I can use
portable (for some loose definition of "portability")
python cgi scripts between Unix and NT.
http://starship.python.net/crew/jbauer/apachenotes/
Jeff Bauer
Rubicon Research
More information about the Python-list
mailing list