apache reverse proxy

Apache2 Reverse Proxy on Debian Notes

Enable the apache modules
#cd /etc/apache2/mods-available/
#a2enmod proxy
#a2enmod proxy_http


An example Virtual Host
<VirtualHost 10.21.241.4:80>
 ServerAdmin spamme@ipduh.com
 ServerName  ipduh.ipduh.awmn
 
 ProxyRequests off
 
 <Proxy *>
 Order deny,allow
 Allow from all
 </Proxy>

 ProxyPass / http://ipduh.com/
 ProxyPassReverse / http://ipduh.com/
 
</VirtualHost>




Apache Reverse Proxy