I have this on my httpd.conf:
Code:
<Directory /usr/local/www/apache22/data/python>
DirectoryIndex index.py
SetHandler mod_python
PythonHandler mod_python.publisher
PythonHandler mod_python.psp | .psp
Options MultiViews FollowSymLinks
Order allow,deny
Allow from all
MultiviewsMatch Handlers
PythonDebug On
</Directory>