RES: [mod_python] Configuring Apache Server With Mod Python

Jorey Bump list at joreybump.com
Fri Apr 28 13:49:46 EDT 2006


Alejandro Michelin Salomon ( Adinet ) wrote:

> I find this directive in the manual --> PythonInterpreter
> 
> I resolved with this :
> 
> <Directory "D:/webroot">
>           AddHandler mod_python .py
>           PythonHandler mptest
>           PythonInterpreter mptest
>           PythonDebug On
> </Directory>
> 
> Now i can run .py files in each direcotory under localhost.

Experiment with settings, by all means, but setting PythonInterpreter 
was unnecessary to solve your problem. Remove it, restart apache, and see.


More information about the Mod_python mailing list