[mod_python] Complicated GET configuration

Gregory (Grisha) Trubetskoy grisha at modpython.org
Fri Aug 16 17:53:13 EST 2002


On 16 Aug 2002, Hunter Matthews wrote:

> def authzhandler(req):
>     """ temp function for testing"""
>
>     apache.log_error("Inside the authzhandler!")
>     apache.log_error("method = %s" % req.method)
>     apache.log_error("headers = %s" % pprint.pprint(req.headers_in))
>
>     return apache.OK
>
>

It's possible that Apache ignores the authz handler unless you have
AuthType, AuthName and require specified. This is definitely true with
respect to authen handler.

BTW, the fact that authz is undocumented is a bug.

Grisha




More information about the Mod_python mailing list