allow deny file and multiple .conf question

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

 



When controlling access to specific files via Allow/Deny, and not using <Directory> or <Location>, and putting in different .conf files, does the order of the conf files matter?

In other words …

aaa-block.conf has …
<Files “aaa.php>
  Order Deny,Allow
  Deny from All
</Files>

zzz-block.conf has …
<Files “zzz.php”>
  Order Deny, Allow 
  Deny from all
  Allow from your domain.com
</Files>


Would the .conf files similar to one above controlling access previous be negated by the last zzz-block.conf above? In other words “Allow from yourdomain.com" would apply to all the previous <Files> statements? Are the .conf files in the same directory loaded alphabetically by Apache?

Thanks


[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