httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Ionescu <>
Subject Re: [users@httpd] .htaccess: How to "cut only the middle branch" from a directory tree?
Date Sat, 25 Feb 2006 01:07:59 GMT wrote:
> Apache requires a password on http://site.dom/1/2/3, http://site.dom/1/2
> and http://site.dom/1 - however when uploading a different .htaccess that
> is supposed to open up (ONLY) http://site.dom/1/2 to the "middle" directory of
> /1/2, something unexpected is caused by this /1/2/.htaccess file:
> PerlSetVar AuthFile /.htpasswd
> AuthType Basic
> AuthName "wide open"
> order deny,allow
> Satisfy any
> Besides directory 2, its subdirectory 3 becomes accessible without credentials,
> as well, although the more restrictive version of .htaccess has remained in...3
> and should therefore be unaffected by any changes to /1/2/.htaccess

Try to place a

Satisfy all

into /1/2/3/.htaccess


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message