[mod_python] Query about authentication/authorization win Apa che on Win32

Nik Barron Nik.Barron at pennantplc.co.uk
Tue Apr 23 11:32:51 EST 2002


> try to test in your authenhandler if the username or password is bad.
> if it is, then return a 401 (Authorisation required) error 
> code, in addition
> with this header:
> WWW-Authenticate: Basic realm="nicepeople"

Excellent! That works a treat, many thanks.

Nik



More information about the Mod_python mailing list