Python and Apache

Erik Max Francis max at alcyone.com
Mon Apr 16 15:22:17 EDT 2001


David Fuess wrote:

> I'm having a heck of a time convincing my Apache web server
> that it's ok to run Python CGI scripts. The test script
> "hello" does indeed exist in the proper directory and runs fine
> under Python from the command line. But when I try to run it
> from a browser as in http://<server>/cgi-bin/hello it fails.
> Any ideas?

The first error suggests that the file isn't where you think it is, or
that the python interpreter isn't where you think it is.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ I only drink to make other people seem interesting.
\__/ George Jean Nathan
    Interstelen / http://www.interstelen.com/
 A multiplayer, strategic, turn-based Web game on an interstellar scale.



More information about the Python-list mailing list