Professional Documents
Culture Documents
Restrict Access To Apache HTTP Server by IP Address
Restrict Access To Apache HTTP Server by IP Address
If you have a resource that should only by accessed by a certain network, or IP address you
can enforce this in your apache configuration. For instance if you want to restrict access to
your intranet to allow only the 176.16 network:
Order Deny,Allow
Deny from all
Allow from 176.16.0.0/16
Or by IP:
Order Deny,Allow
Deny from all
Allow from 127.0.0.1