[mod_python] Using mod_python for auth only

Deron Meranda deron.meranda at gmail.com
Fri Dec 16 03:00:50 EST 2005


On 12/15/05, Graham Dumpleton <grahamd at dscpl.com.au> wrote:
> The mod_python authentication handler will not be called
> by default though, the Apache configuration has to be such as to
> cause it to be triggered. This generally requires AuthType directive,
> plus Require directive.

If you don't want to get Apache's Auth* directives involved,
you can use the PythonAccessHandler instead.  That request
phase occurs between the authentication and fixup phases,
and is called regardless of any require directives.  It's a bit
cheating, since authentication is not exactly the purpose of
that phase, but you can still use it as such with some
restrictions.
--
Deron Meranda



More information about the Mod_python mailing list