httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Webster <webs...@lexmark.com>
Subject [users@httpd] Require user $var
Date Wed, 06 Oct 2010 14:47:44 GMT
Hello.

I have directories:
/var/www/html/project/mary
/var/www/html/project/joe
/var/www/html/project/john
/var/www/html/project/fred
.
.

How do I accomplish something like:
<Directory /var/www/html/project/$user>
  AuthName "project"
  AuthType Basic
  AuthBasicProvider dbm
  AuthDBMUserFile whatever
  Require user $user
</Directory>

rather than having a separate <Directory> section for each user in 
httpd.conf ?

Thanks.


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