Re: directives in Include-d file in <Directory>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxxx ; 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux