httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nico <nicolas.geor...@gmail.com>
Subject Re: [users@httpd] Auth problem with Location
Date Mon, 05 Dec 2005 13:35:47 GMT
2005/12/5, Maurer, Hermann <Hermann.Maurer@gft.com>:

> Hello folks,
> [...]
> <Location /myloc/confidential>
> Order Allow,Deny
> Allow from all
> AuthName "Confidentail Area, please login"
> AuthType Basic
> AuthUserFile /usr/local/apache/passwd/passwords
> Require valid-users
> </Location>

Try with <Directory></Directory> if your path is a Hard access in your server
and with the valid syntax :
Require valid-user

Or with Location, if it doesn't work, maybe /myloc/confidential isn't
matching URLs
<Location URL-path|URL> ... </Location>

But it works with only this commands :

<location /myloc/Confidential>
  AuthName "ConfidentIAL Area, please login"
  AuthType Basic
  AuthUserFile /usr/etc/MyDomain/.htpasswd
  Require valid-user
</Location>

--
nico

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