httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avnish Pundir" <apun...@cisco.com>
Subject Re: Directory access
Date Wed, 03 Apr 2002 14:47:07 GMT
Hope you are familiar with basic file authentication. Here's the required
stuff.

Directory /usr/local/apache/htdocs/test>
Order deny,allow
Deny from all
Allow from 123.456.789.10
AuthType basic
AuthName "My auth"
AuthUserFile "auth file having UserA username/password"
Require user UserA
Satisfy all
</Directory>


Thanks
Avnish
----- Original Message -----
From: "Hong Tian" <htian@ias.edu>
To: <users@httpd.apache.org>
Cc: <htian@ias.edu>
Sent: Wednesday, April 03, 2002 7:57 PM
Subject: Directory access


In httpd.conf:

Directory /usr/local/apache/htdocs/test>
Order deny,allow
Deny from all
Allow from 123.456.789.10
</Directory>

It only allow the host 123.456.789.10 can access
/usr/local/apache/htdocs/test.

There are two users (UserA and UserB) in the host of 123.456.789.10.
If I want only userA can access /usr/local/apache/htdocs/test (not userB),
how to configure it?
TIA


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message