[mod_python] How to get request URI

Albert Chin mod_python at mlists.thewrittenword.com
Tue Oct 14 22:53:35 EST 2003


On Tue, Oct 14, 2003 at 11:39:42PM -0400, Gregory (Grisha) Trubetskoy wrote:
> Have you tried req.prev.uri?

Works! Thanks.

> Grisha
> 
> On Tue, 14 Oct 2003, Albert Chin wrote:
> 
> > I want to have mod_python manage my ErrorDocument handler. How can I
> > get the URI of the request that caused the error? I'm using
> > mod_python-3.0.3 and Apache 2.0.47.
> >
> > The uri members in mprequest get me the URI of the ErrorDocument
> > handler.
> >
> > --
> > albert chin (china at thewrittenword.com)
> > _______________________________________________
> > Mod_python mailing list
> > Mod_python at modpython.org
> > http://mailman.modpython.org/mailman/listinfo/mod_python
> >
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

-- 
albert chin (china at thewrittenword.com)


More information about the Mod_python mailing list