basic http authentication

Posted by user881480 on Server Fault See other posts from Server Fault or by user881480
Published on 2011-09-05T04:23:30Z Indexed on 2011/11/20 1:55 UTC
Read the original article Hit count: 203

Filed under:

I am using apache's basic http authentication to control access, however, I only want to control one level of directory access, meaning, I only want directory a to be authenticated, but not a's children(eg. a/b), is this possible?

<Location /a/>
Options -Indexes
Order Deny,Allow
Allow from all

AuthType Basic
AuthName "Members Only"
AuthUserFile /home/xxxx/.htpasswd
require valid-user


© Server Fault or respective owner

Related posts about http

Related posts about authentication