Ralph Kutschera wrote:
Hallo list!
I've been searching the archive but it seems there isn't yet a
solution to this:
I would like to have a whole site to be accessed only by user/passwd:
<Location />
AuthXXX [..]
</Location>
Only one directory should be accessible without authentication:
<Location /public>
Order Allow,Deny
Allow from All
</Location>
Try re-ordering the <location> blocks so that that /public one is first.
Alternatively you could also try using <LocationMatch> [1] or
<DirectoryMatch> [2]
Tony
[1] http://httpd.apache.org/docs/trunk/mod/core.html#locationmatch
[2] http://httpd.apache.org/docs/trunk/mod/core.html#directorymatch
--
-----------------------------------------
Tony Stevenson
[EMAIL PROTECTED] // [EMAIL PROTECTED]
http://www.pc-tony.com/
1024D/51047D66 ECAF DC55 C608 5E82 0B5E 3359 C9C7 924E 5104 7D66
-----------------------------------------
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]