[Tutor] Python CGI and Apache

Daniel Yoo dyoo@hkn.EECS.Berkeley.EDU
Sat, 5 Aug 2000 18:43:27 -0700 (PDT)


> I have downloaded and installed Apache v1.3 for Win 32 on Windows 98  (for
> testing only I know, I know I'm asking for it).  The interpreter is in my
> path  I also added .py in the httpd.conf like so
> 
> AddHandler cgi-script .cgi .py

Most likely, you'll also need to allow CGI's to be accessible from user
directories too.  By default, CGI's can only run in a cgi-bin directory
for security's sake.  Try searching for an "Options" section in the
httpd.conf.