Graham Dumpleton
grahamd at dscpl.com.au
Wed Dec 27 17:39:01 EST 2006
Use: DirectoryIndex index.psp Lukasz Szybalski wrote .. > Hello, > I am trying to display index.psp. When i go to folder i see only index.psp > > http://www.example.com/folder/ > If i put for example index.php it will automatically be displayed > there. But index.psp won't > > Any ideas why? > > > my apache2.conf includes: > DirectoryIndex index.psp index.html index.php index.xhtml > > my httpd.conf > > <Directory "/my/psp/web/folder"> > AddHandler mod_python .psp .psp_ > PythonHandler mod_python.psp > PythonDebug On > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > </Directory> > > Debian sarge: > this is how i installed it: > apt-get update > apt-get install libapache2-mod-python > > Module should be enabled, to check type: > a2enmod mod_python > > Enable psp support by adding following in /etc/apache2/httpd.conf : > > AddHandler mod_python .psp .psp_ > PythonHandler mod_python.psp > > Save the file and reload apache: > /etc/init.d/apache2 reload > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python
|