[mod_python] test doesn't work (solved?)

Miguel Marques miguel at yorku.ca
Thu Jun 22 11:23:01 EST 2000


On Wed, 21 Jun 2000 21:33:41 -0400 (EDT), Gregory Trubetskoy <grisha at modpython.org> wrote:
> 
> On Wed, 21 Jun 2000, Miguel Marques wrote:
> 
> > If I add a slash to the end of the directory in the Directory directive it works.
> > <Directory "/usr/local/apache/htdocs/test/">
> 
> OK, it is actually a bug.
> 
> line 108 of mod_python.c, which reads
> 
> #define SLASH_S "\\"
> 
> should read
> 
> #define SLASH_S "/"
> 
> If you edit this and recompile, the problem will go away.
> 
It does indeed go away. 
Thanks!!!
But note that when using a Location directive it still does not work.
e.g.
<Location "/test">
    AddHandler python-program .py
    PythonHandler test
    PythonDebug on
</Location>

Is this intentional?

							Miguel

C. Miguel Marques, York University, Computing & Communications Services
e-mail: miguel at yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830



More information about the Mod_python mailing list