httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haimov, Eugene" <eugene.hai...@aecio.com>
Subject RE: [users@httpd] Basic Authentication Question
Date Mon, 17 Mar 2003 15:13:16 GMT
-----Original Message-----
From: Max Dittrich [mailto:Max.Dittrich@t-online.de]
Sent: Saturday, March 15, 2003 5:26 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Basic Authentication Question


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

***************************************************
Max,
Thank you very much for your help.
Finally, it works for me!
Eugene Haimov

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