httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max.Dittr...@t-online.de (Max Dittrich)
Subject Re: [users@httpd] Basic Authentication Question
Date Sat, 15 Mar 2003 22:25:31 GMT
On 3/14/2003 8:30 PM, Haimov, Eugene wrote:
> I use .htaccess file for basic authentication:
> 
> 	AuthName Locked
> 	AuthType basic
> 	AuthUserFile /somepath/passwordfile
> 	Require valid-user
> 
> This file sits in the "/" of the website.
> It works exactly as I want it to.
> 
> Now, I want a specific subdir - "/subdir"
> to be publicly accessible without any 
> authentication.
> I realize, I need to create another .htaccess
> in this subdirectory, but what should I put there
> 
> I seem to have trouble figuring out how to
> "UN-protect" that particular subdirectory.

/-- .htaccess --
|
| Satisfy any
|
| Order allow,deny
| Allow from all
|
\----

will do it in a quite dirty manner.

.max


---------------------------------------------------------------------
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