Skip to content
Nov 15 / Greg

Apache – IP Address Restrictions

I wanted to protect my web-meetme folder on my trixbox install, so I made a couple of allowances in the apache config file like so.

1
2
3
4
5
6
7
<Directory /var/www/html/web-meetme>
#Order allow,deny
Order deny,allow
deny from all
allow from 10.0.0.0/255.0.0.0
allow from 1.1.1.1/255.255.255.255
</Directory>

Note the allow/deny entries.

Leave a Comment

 

*