[mod_python] apache to display index.psp

Lukasz Szybalski szybalski at gmail.com
Wed Dec 27 17:27:10 EST 2006


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


More information about the Mod_python mailing list