Close

Apache – Controlling access using the Order, Deny, and Allow directives on CentoS/RHEL 7

Apache let's you Allow/Deny access based on who is requesting access using the Order directive which is used in conjunction with the Allow and Deny directives.

You can sepcify multiple Allow and Deny rules like this:

Deny from {ip address}
Allow from {192.168.10.0/24}
Deny from dodgydomain.com


Order deny,allow