httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <dan...@rawbyte.com>
Subject Re: [users@httpd] Password Sets for Each Website
Date Sun, 23 Nov 2003 19:48:23 GMT


> Currently I have some 6 websites on my server which I like to have
> password  protection. All these 6 protected websites share the same
> "C:\.htpasswd". 
[...]
> All these 6 websites are using the same sets of ID and passwords.
> However, what I want is actually only a particular set of IDs can access
> a particular website (i.e. one of the 6).
>  
> What should I do such that I can create websites where only a specific
> set of users can access a particular protected website and cannot access
> other protected website. 

Instead of using 

Require valid-user

use

Require user user1 user2

or organize users in groups and use

Require group group1 group2

More info at 

http://httpd.apache.org/docs/mod/core.html#require


-- 
Teach Yourself Apache 2 -- http://apacheworld.org/ty24/

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