RES: [mod_python] Nest step configuration PSP

Jorey Bump list at joreybump.com
Fri Apr 28 14:38:54 EDT 2006


Alejandro Michelin Salomon ( Adinet ) wrote:

> I have this :
> <Directory "D:/webroot">
>           AddHandler mod_python .py
>           PythonHandler mptest
>           PythonDebug On
> </Directory>
> 
> And i add this :
> 
> AddHandler mod_python .psp
> PythonHandler mod_python.psp
> 
> Now i have this :
> 
> <Directory "D:/webroot">
>           AddHandler mod_python .py
>           PythonHandler mptest
>           PythonDebug On
> </Directory>
> 
> AddHandler mod_python .psp
> PythonHandler mod_python.psp
> 
> Is wrong ?

Yes, but you were misled by the instructions that you quoted. If you 
want to try psp, "simply" do this:

  <Directory "D:/webroot">
     AddHandler mod_python .psp
     PythonHandler mod_python.psp
     PythonDebug On
  </Directory>

> I can have .py and .psp files configured a the same time ?

Easily, if you use different Directory containers, but I'll defer to 
someone else who does this in the same directory, so I don't omit any 
gotchas. I use Publisher, not psp.




More information about the Mod_python mailing list