I have a module that does authentication and authorisation. In my Apache
configs I have:

        PerlAuthenHandler Apache2::AuthX::authenticate
        PerlAuthzHandler  Apache2::AuthX::authorise

I'd rather just use:

        PerlAuthenHandler Apache2::AuthX
        PerlAuthzHandler  Apache2::AuthX

and let the handler function Apache2::AuthX::handler() deduce what has
to be done (i.e. authenticate or authorise).

How can handlers tell which phase they are currently in?

                Anthony.

Reply via email to