Apache Reverse Proxy

Apache Reverse Proxy

On my setup, makes sure the following 2 lines are enabled inside the httpd.conf

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

Then create .conf files similar to the following.

<VirtualHost *:80>
	ServerAdmin you@youremail.co.uk
	ServerName proxy.domain.com
	ServerAlias www.proxy.domain.com
	ErrorLog logs/proxy.domain.com.error.log
	CustomLog logs/proxy.domain.com.log combined
	ProxyPreserveHost On
	ProxyRequests Off
	ProxyPass / http://192.168.254.254/
	ProxyPassReverse / http://192.168.254.254/
</VirtualHost>

This page was last modified on Wednesday, 15th April 2015 at 08:51:54 by Gary Keeling. © 2019 GKWeb Design.

Categorised as: Web Hosting

GK5 Footer

and whatever