httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <>
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


Require user user1 user2

or organize users in groups and use

Require group group1 group2

More info at

Teach Yourself Apache 2 --

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message