Precedence

Precedence

am 13.07.2011 16:14:56 von aw

Hi experts.

Environment :
Apache/2.2.9 (Debian) DAV/2 mod_jk/1.2.26 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4
Perl/v5.10.0

If I have the following configuration section :


AuthType My::Auth
AuthName ABCtop
PerlAuthenhandler My::Auth->authenticate
PerlAuthzHandler My::Auth->authorize
require valid-user
ProxyPass http://some-other-host/abc


It seems that the proxying happens before the authentication is invoked.
(In other words, the authentication never happens, and the proxying happens unconditionally).

Is there any way to change this order ?
(aka, force the authentication to happen, and only proxy if it passes)