Help getting python/Apache working together on windows

Ignacio Vazquez-Abrams ignacio at openservices.net
Thu Sep 6 12:39:07 EDT 2001


On Thu, 6 Sep 2001, Ignacio Vazquez-Abrams wrote:

> On 6 Sep 2001, Brian Sweeting wrote:
>
> > I have two questions...
> >
> > 1) Is there any way I can run it the same way as php without messing
> > with the httpd.conf file all the time?  I have seen quite a few
> > tutorials on running python as a cgi, but I would like to be able to
> > go to a url and run that script.
>
> AddHandler cgi-script py pyc pyo

D'oh. I forgot putting index.py, index.pyc, and index.pyo in DirectoryIndex.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list