[mod_python] Mod Python problems

Jim Gallacher jpg at jgassociates.ca
Fri Apr 7 18:29:31 EDT 2006


gOLeM wrote:
> finally fixed this problem,

That's good. What was the problem?

> but now am facing another problem :(
> 
> i've configured the httpd.conf for the publisher module.
> When i access http://localhost/psp_site/ i get the source code of index.py
> whereas when i access http://localhost/psp_site/index.py i am actually
> getting the html page.

Try adding the following to your httpd.conf:

<Directory /some/path/psp_site>
   DirectoryIndex index.py
</Directory>


Jim



More information about the Mod_python mailing list