Apache IP-Based Access Control. Allow, Deny, Order Confusion

view full story

http://serverfault.com – This should be an easy one, but I am seeing conflicting information from google, and would like some clarification. I am trying to block access to a site to all but 1 IP address. I am adding Allow, Deny and Order directives to the sites-enabled directory. Which of the following is correct? Order allow, deny Allow From <ip> or Order deny, allow Deny From all Allow From <ip> (HowTos)