You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Richard Anderson <Ri...@raycosoft.com> on 2001/04/04 22:35:41 UTC
Exempt a directory from ?
I need to specify an authentication handler (in lieu of Basic or Digest) for all directories in htdocs/ EXCEPT one, htdocs/bin/. How can I do this? I don't want to specify another authentication handler for /htdocs/bin, I just want to exempt it.
Here's my Location block:
<Location />
AuthType WWW::AuthCookieHandler
AuthName HMAC
PerlAuthenHandler WWW::AuthCookieHandler->authenticate
PerlAuthzHandler WWW::AuthCookieHandler->authorize
Require valid-user
</Location>
How can I exempt htdocs/bin from this?
Richard Anderson, Ph.D. www.unixscripts.com
Perl / Java / SQL / Unix Richard.Anderson@raycosoft.com
Raycosoft, LLC Seattle, WA, USA
Re: Exempt a directory from ?
Posted by Tim Tompkins <ti...@arttoday.com>.
<Directory /full/path/to/htdocs/bin>
Satisfy any
</Directory>
or, assuming that "bin" is at the root level of your document root,
<Location /bin>
Satisfy any
</Location>
----- Original Message -----
From: "Richard Anderson" <Ri...@raycosoft.com>
To: <mo...@apache.org>
Sent: Wednesday, April 04, 2001 1:35 PM
Subject: Exempt a directory from <Location>?
I need to specify an authentication handler (in lieu of Basic or Digest) for
all directories in htdocs/ EXCEPT one, htdocs/bin/. How can I do this? I
don't want to specify another authentication handler for /htdocs/bin, I just
want to exempt it.
Here's my Location block:
<Location />
AuthType WWW::AuthCookieHandler
AuthName HMAC
PerlAuthenHandler WWW::AuthCookieHandler->authenticate
PerlAuthzHandler WWW::AuthCookieHandler->authorize
Require valid-user
</Location>
How can I exempt htdocs/bin from this?
Richard Anderson, Ph.D. www.unixscripts.com
Perl / Java / SQL / Unix Richard.Anderson@raycosoft.com
Raycosoft, LLC Seattle, WA, USA