httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rose, John B" <jbr...@utk.edu>
Subject [users@httpd] allow deny file and multiple .conf question
Date Fri, 09 Jun 2017 21:49:20 GMT
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

Mime
View raw message