If I specify a
Deny from xx.xx.xx.xx Directive in a
<Directory /var/www/html/test-directory/></Directory> block in an Apache vhost configuration.
Then specify a different
Deny from yy.yy.yy.yy in a
.htaccess file in the same directory, which comes out on top?
It's my understanding that
.htaccess should always take priority but in the case of Deny/Allow directives with different IP addresses, will the directives merge?
So both xx.xx.xx.xx and yy.yy.yy.yy are denied?
Or will one override the other?
I will do some tests later but I just wondered if anyone knew what should happen theoretically.