You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by André Warnier <aw...@ice-sa.com> on 2011/07/13 16:14:56 UTC
Precedence
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 :
<Location /abc>
AuthType My::Auth
AuthName ABCtop
PerlAuthenhandler My::Auth->authenticate
PerlAuthzHandler My::Auth->authorize
require valid-user
ProxyPass http://some-other-host/abc
</Location>
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)