some problems with mod_python

Johan valpis at gmail.com
Mon Aug 27 16:40:50 EDT 2007


On Aug 27, 10:29 pm, "Greg Donald" <gdon... at gmail.com> wrote:

> 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.
>
If I did understand the docs about the difference between python-
program and mod_python is that the later is the new way, while using
python-program still works.
It does not matter which I use, same result.

/johan




More information about the Python-list mailing list