Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] <Location /> for a whole site BUT one directory

Ralph Kutschera

2008-08-03

Replies: Find Java Web Hosting

Author LoginPost Reply
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>

 This does not work. I'm getting asked for user/passwd whenever I try
to access http://domain.com/public

 Has anybody resolved this issue (with regexp, whatever, ...) and
could please post the configuration?

TIA,
 Ralph


---------------------------------------------------------------------
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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.