Problems with setting up mod_python and Apache

Dave Benjamin dave at 3dex.com
Wed Sep 10 15:02:24 EDT 2003


"John Dean" <john at rygannon.com> wrote in message
news:3f5f6b41$0$239$fa0fcedb at lovejoy.zen.co.uk...
> I have set up httpd.conf according to installation and configuration
> instructions in the mod_python documentation. Yet when I enter the
following
> URL http://localhost/test.py all I get is an Apache view of my htdocs
> directory. They if I click on test.py and open file dialog pops up. If I
> give the file a cgi extension and enter the following URL
> http://locathost/test.cgi it runs fine.  I just can't figure out what I am
> doing wrong.

Sounds like a configuration problem. Can you post the relevant lines from
your httpd.conf file? Are you trying to write handlers or are you using the
publisher module?

Dave






More information about the Python-list mailing list