[mod_python] mptest.py is displayed, not interpreted

Ken Johnson KJohnson at eclypse.org
Mon Aug 2 12:48:59 EDT 2004


Thank you for pointing out this error.

mptest.py is interpreted and displays
the expected output once the <Directory ...>
declaration was corrected.


-----Original Message-----
From: Scott Sanders [mailto:sanders at apache.org] 
Sent: Thursday, July 29, 2004 6:03 PM
To: mod_python user mailing list; KJohnson at eclypse.org
Subject: Re: [mod_python] mptest.py is displayed, not interpreted

On Jul 29, 2004, at 3:22 PM, Ken Johnson wrote:

> Pointing my browser at
> displays the contents of modules/py-test/mptest.py.


> <Directory "/usr/local/apache_2.0.50/htdocs/test>
>     AddHandler mod_python .py
>     PythonHandler mptest
>     PythonDebug On
> </Directory>

One is /py-test/, and one is /test/, which one is correct?

Scott Sanders

More information about the Mod_python mailing list