httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: [users@httpd] more than one directory per lin
Date Fri, 12 Dec 2003 05:35:36 GMT
M.D. DeWar wrote:
> If I use the same .htpasswd file can I put them all in one
> statement in the httpd.conf  or does each dir need its own
> <directory /some/dir>
>  auth basic
>     yada
>      yada
> </directory>
>
> or can I put
> <directory /some/dir  another/dir  etc>

Unless they share a common parent directory, I think you will have to
declare a Directory block for each one. There might be some obscure tricks
(likely to involve mod_rewrite) which could allow you to only have one auth
section, but that's more trouble than it's worth.

Regards,
Robert Andersson


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