Wednesday, April 10, 2013

Blocking your application from outer world and accessible form particular LAN/WAN/MAN of IP.


Open httpd.conf file and edit it as below:

<Directory /var/www/html/Application_folder_name/>
Order Deny,Allow
Deny from All
Allow from 192.168.4.1/24 192.168.83.1/24  192.168.108.2/24 192.168.103.0/24  192.168.22.2/24
Allow from 127.0.0.1
</Directory>

No comments:

Post a Comment