[mod_python] apache to display index.psp

Graham Dumpleton grahamd at dscpl.com.au
Thu Dec 28 16:49:23 EST 2006

Lukasz Szybalski wrote ..
> Graham Dumpleton wrote:
> > Use:
> >
> >   DirectoryIndex index.psp
> I modified httpd.conf to 
> <Directory "/path/to/folder">
>  AddHandler mod_python .psp .psp_
>  PythonHandler mod_python.psp
>  PythonDebug On
>  Options Indexes MultiViews
>  AllowOverride None
>  Order allow,deny
>  Allow from all
>  DirectoryIndex index.psp
> </Directory>
> I just don't understand why would i have to specify this again if it is
> stated already in apache2.conf
> DirectoryIndex index.psp index.html index.php index.xhtml

Don't know. Only reason could be that the existing DirectoryIndex
directive wasn't actually at global scope or top level scope of the
virtual host, but was instead only defined for below the document
root and your new area is not in the document root.


More information about the Mod_python mailing list