Re: [users@httpd] Single auth file for many per-user directories

2012-05-27 Thread Michael Streeter
On 05/23/2012 06:58 AM, Richard Davies wrote: Eric Covener wrote: ?Require Or alternatively, a way for me to have "Require valid-user", but then somehow prevent users from accessing directories other than their own? (even with a hack like rewrite rules?) There is a shortcut if the those names

Re: [users@httpd] Single auth file for many per-user directories

2012-05-23 Thread Richard Davies
Eric Covener wrote: > > ?Require > > > > Or alternatively, a way for me to have "Require valid-user", but then > > somehow prevent users from accessing directories other than their own? > > (even with a hack like rewrite rules?) > > There is a shortcut if the those names are system users and they

Re: [users@httpd] Single auth file for many per-user directories

2012-05-23 Thread Eric Covener
>  Require > > Or alternatively, a way for me to have "Require valid-user", but then > somehow prevent users from accessing directories other than their own? > (even with a hack like rewrite rules?) There is a shortcut if the those names are system users and they actually own their directories:

[users@httpd] Single auth file for many per-user directories

2012-05-23 Thread Richard Davies
Hi all, I would appreciate any suggetions on how to achieve the following: I have a large number of per-user directories: /var/www/user1 /var/www/user2 /var/www/user3 ... And a htdigest file containing usernames and passwords for all of these users. I want to set up authentication for