Reputation: 23780
Is there any difference between these 2:
order deny,allow deny from 111.111.111.111 allow from all
order allow,deny deny from 111.111.111.111 allow from all
Upvotes: 1
Views: 467
Reputation: 3768
Yes, in a deny,allow
situation, if a match is made in both deny and allow chain, it will default to the second chain. The same goes the other way around, in a allow,deny
situation, if a match is made in both chains, the second chain takes precedence.
There is a good table in the Apache documentation
Upvotes: 1