[mod_python] questions about mod_python publisher

Volodya volodya at real.samuraj.org
Thu May 20 11:24:27 EDT 2004


On Thu, May 20, 2004 at 12:14:49AM +0100, Terry MacDonald wrote:
> If my league.py file/module contains a function called index() and
> another function called hello() then...
> 
> http://localhost/app/league.py successfully calls index()
> http://localhost/app/ successfully calls index()
> http://localhost/app/league.py/hello successfully calls hello()
> http://localhost/app/hello causes a not found error on URL /app/hello
> 
> The last one contradicts what is described in section '6.1.2.1 -
> Traversal' of the mod_python manual.
> 
> Is this a bug, or is the apache config wrong?
> 
> Note: This is also the case if the league.py file is renamed to
> index.py.  However, if I do that then http://app/ causes a forbidden
> error!!??

What environment is it ? (Apache/mod_python version)



More information about the Mod_python mailing list