[mod_python] Multiple handlers

Gregory (Grisha) Trubetskoy grisha at modpython.org
Thu Nov 20 22:12:55 EST 2003



On Thu, 20 Nov 2003, Dan W. wrote:

> ### Test ###
> <Directory /usr/local/apache2/htdocs/test>
>      AddHandler mod_python .py
>      PythonHandler index
>      PythonDebug On
>
>      AddHandler mod_python .psp
>      PythonHandler mod_python.psp
> </Directory>


Try this:

<Directory /usr/local/apache2/htdocs/test>

      AddHandler mod_python .py .psp

      PythonHandler index | .py
      PythonHandler mod_python.psp | .psp

      PythonDebug On

</Directory>


Grisha


More information about the Mod_python mailing list