mod_python on Win32 [new problem]

David LeBlanc whisper at oz.nospamnet
Fri May 4 22:11:52 EDT 2001


In article <xfDI6.9217$R2.7166497 at newsrump.sjc.telocity.net>, dsavitsk at e-
coli.net says...
> 
> "David LeBlanc" <whisper at oz.nospamnet> wrote in message
> news:9curj4$emn$5 at 216.39.170.247...
> 
> * * *
> 
> > From my httpd.conf:
> >   <Directory "k:/apache/htdocs/test">
> >     AddHandler python-program .py
> >     PythonHandler mptest
> >     PythonDebug On
> >   </Directory>
> >
> > Good luck,
> >
> > Dave LeBlanc
> 
> thanks for the reply.  it seems that in the docs they say to use the line:
> 
>     "PythonHandler test"
> 
> when what they mean is:
> 
>     "PythonHandler mptest"
> 
> doug
> 
> 
> 
I think them mean to say PythonHandler <name_of_my_app>.

Their doc coule be better.

I also think that a def named Handler has to be in the 
<name_of_my_app>.py file.

I guess, now that I think about it, that there can only be one 
<handler>.py file per directory, unless one can do some sort of 
.extension magic.

Dave LeBlanc

P.S. Did you get it to run?



More information about the Python-list mailing list