This example will show you how to configure Reverse Proxy with Apache Virtual Hosting. This is in addition to my last Reverse Proxy post.
########################
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin abc@xyz.com
DocumentRoot /var/www/html/
ServerName abc.xyz.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin abc@xyz.com
ServerName revprx.xyz.com
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://192.168.105.5/ nocanon
ProxyPassReverse / http://192.168.105.5/
</VirtualHost>
##########
This way you can have any Number of Virtual Host with Local Content and also with Reverse Proxy enabled. Hope this Helps.
Recent Comments