httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eimantas \"EnC\" Vaičiūnas" <eiman...@lietuvoje.lt>
Subject Re: [users@httpd] Nested location directives possible?
Date Fri, 16 Jan 2004 11:38:51 GMT
hi

i think it would be better to use .htaccess for all the directories with 
   allowoverrid AuthConfig.


ffreund@memocomp.de wrote:

> Hi,
> 
> anyone knows if it is possible to use nested location directives or do 
> it a similar way, to achive something like this:
> 
> <Location /data>
> 
>        AuthType Basic
>        AuthUserFile /usr/local/apache2/svn/.htpasswd
>        AuthGroupFile /usr/local/apache2/svn/.htgroup
> 
>        <Location /Test>
>        #should be <Location /data/Test>
>                Require group SomeGroupA
>        </Location>
> 
>        <Location /Test2>
>        #should be <Location /data/Test2>
>                Require group SomeGroupB
>        </Location>
> 
> </Location>
> 
> Thanks in advance
> Frank 



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