httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <uh...@fantomas.sk>
Subject Re: [users@httpd] directives in Include-d file in <Directory>
Date Fri, 06 Feb 2009 10:11:50 GMT
> Matus UHLAR - fantomas wrote:
> >
> >I would like to use the same accesslist for more directories (include it
> >more times), but it seems that I can't iclude directives into the
> ><Directory> section, but the <Directory> must lie inside of the included
> >file.
> >
> >Am I right or did I miss something?

On 05.02.09 20:21, André Warnier wrote:
> In 1.3, I think you are right.
> Checking this :
> http://httpd.apache.org/docs/1.3/mod/core.html#include
> I see that the "Context" says "server config".  That probably means that 
> under 1.3, you can only use an Include outside of <Directory> and 
> <Location> sections.

Aha, so THIS was what I missed yesterday!

> In Apache 2.2, you can however use them inside <Directory> sections also :
> http://httpd.apache.org/docs/2.2/mod/core.html#include
> 
> One more reason to upgrade.

yes. for now I used the regexp in Directory and included the access control
into the main config file.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.

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