[mod_python] Custom Login with redirection back to referer

Deron Meranda deron.meranda at gmail.com
Fri May 19 15:51:38 EDT 2006

> A better approach that more closely follows the HTTP standard
> semantics is to have your authentication handler cause an
> HTTP 403 error when the user doesn't have permissions.
>       m.abort(403)

Oops, should be

    raise apache.SERVER_RETURN, apache.HTTP_FORBIDDEN
Deron Meranda

More information about the Mod_python mailing list