perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Gao <>
Subject [mp 2.0.9-dev] Is AUTH_GRANTED defined anywhere?
Date Sat, 17 Aug 2013 09:25:55 GMT
Hi guys,

I am trying to get an authentication/authorisation handler work for Apache 2.4.6 with mod_perl's
dev branch httpd24.

Under Apache 2.2, I use this:

    return Apache2::Const::OK;

when authentication is successful. Under 2.4, I get the following error:

    "AH00027: No authentication done but request not allowed without authentication for /xxxxx.html.
Authentication not configured?"

and it logged it with the 500 error code. It does not seem to think the
authn handlers exist even though they did run to the finish.

It seems I would need to return something like:

    return Apache2::Const::AUTH_GRANTED;

But I can't find the constant "AUTH_GRANTED" or "AUTHZ_GRANTED" defined anywhere.

Thanks for any help.



View raw message