some problems with mod_python

Greg Donald gdonald at gmail.com
Mon Aug 27 22:29:30 CEST 2007


On 8/27/07, Johan <valpis at gmail.com> wrote:
> This I added to httpd.conf
> <Directory /opt/site/htdocs/test>
>         AllowOverride All
>         AddHandler mod_python .py
>         PythonHandler mptest
>         PythonDebug On
> </Directory>

This is the syntax I have working locally:

# mod_python
<Directory /opt/local/apache2/htdocs/modpython>
  AddHandler python-program .py
  PythonHandler test
  PythonDebug On
</Directory>

In particular my AddHandler directive is different from yours.


-- 
Greg Donald
http://destiney.com/



More information about the Python-list mailing list