[mod_python] Apache 2.2 authen/authz and "require" semantics

Arnar Birgisson arnarbi at gmail.com
Mon Sep 24 06:33:46 EDT 2007


Hello Graham,

On 9/24/07, Graham Dumpleton <graham.dumpleton at gmail.com> wrote:
> Does it have to be configurable from Apache configuration, could you
> just do it all in the Python script?

Yes, I could do it all from a python script - any way that works :)

> So, we don't even use auth/authz for this bit, but just use a fixup handler.

*goes to read about fixup-handlers*

Can I return apache.HTTP_UNAUTHORIZED from a fixup-handler to make the
browser request username/passwd?

thanks,
Arnar


More information about the Mod_python mailing list