Sunday, February 7, 2016

How do you allow access from specific IP addresses or machine name


How do you allow access from specific IP addresses or machine name?
Change your httpd.conf file to add the following lines:
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from xxx.xxx.xxx.xxx
</Location>
Configuring Directives and Virtual Hosts

No comments:

Post a Comment