[mod_python] How to get the Apache authentication requirements into Python script?

Gregory (Grisha) Trubetskoy grisha at modpython.org
Tue Oct 7 23:52:29 EST 2003



On Mon, 6 Oct 2003, Scott Chapman wrote:

> mod_python and I'm wondering how to get the 'require valid-user' and 'require
> group blah' info into my Python handler so I know which groups to look out
> for, etc.  I've been over the mod_python docs quite a bit and I can't find
> info on this.

Right now you cannot. But 3.1 will have a req.requires() method which will
return just that info. If you *really* need it now, you can try out the
latest version from CVS.

Grisha


More information about the Mod_python mailing list