[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

what handler phase as we in?


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.


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.