httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Ionescu <robsie...@googlemail.com>
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
Apache.20.TEN@spamgourmet.com 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

-- 
Robert

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message