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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, in a
deny,allowsituation, 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 aallow,denysituation, if a match is made in both chains, the second chain takes precedence.There is a good table in the Apache documentation