- Enable the proxy modules:
sudo a2enmod proxy
- Edit the proxy config file:
sudo vi /etc/apache2/mods-enabled/proxy.conf
- Add your allowed hosts to the
<directory proxy:*>
Order deny,allow
Deny from all
Allow from my_hosts
</directory>
Restart Apache and you're done:
sudo /etc/init.d/apache2 restart
No comments:
Post a Comment