You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Martijn <sw...@googlemail.com> on 2007/11/13 17:42:46 UTC
multiple requires: AND or OR ?
Hello.
A simple question, of which I can't find the answer fast enough.
I have the following block inside httpd.conf:
<Location /archive>
require a_test
require another_test
</Location>
where a_test and another_test are two mod_perl handlers that either
return OK or FORBIDDEN.
For a user to get access to the /archive-location, should both
handlers return OK (logical AND) or is it enough if one does (logical
OR)?
I always assumed it was logical AND and that makes sense to me in at
least ten different ways, but I'd rather be 100% sure, before I
accidentally open up half of our site...
Thanks.
Martijn.