Networking • Automation • Occasional Podcasting
, ,

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.

<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.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *