View Single Post
Old 24th October 2011, 19:37
sjswarts sjswarts is offline
Senior Member
Join Date: May 2011
Location: Australia
Posts: 135
Thanks: 17
Thanked 5 Times in 5 Posts

Ok so I have figured it out thanks to Till (sent me in the right direction)

This is how to do it if you meet the criteria of having Debian and ISPConfig installed on your nominated recipient of the port 80 request. Other flavors no doubt will work as well just might need some editing. Also make sure you have a A record set up for the secondary apache web server.

Port 80 for me was sent to which had a ip of

So I edited in /etc/apache2/sites-available/

Scroll down to after it talks about the directory locations and settings (probably doesn't need to be here but that is where i put it) and place this (obviously editing it to suit your needs)

================================================== ======

ProxyRequests Off
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /example
ProxyPassReverse /example

================================================== =======

What I forgot to add was the example after the forward slash. After restarting apache with a /etc/init.d/apache2 restart everything went where I wanted it.

Hopefully this helps someone else. Thanks to all and if it doesn't work out I will come back here...


Last edited by sjswarts; 24th October 2011 at 19:38. Reason: Incorrect syntax
Reply With Quote