Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Reverse Proxy

From: Graham Leggett <minfrin(at)sharp.fm>
Date: Sat Aug 25 2001 - 04:46:55 EDT

Mohamed Elashmawy wrote:

> I am sorry but when we are using a reverse proxy, what should be present
> in the httpd.conf?

All you need is this:

ProxyPass / http://backend.example.com/
ProxyPassReverse / http://backend.example.com/

The first line does the actual reverse proxying. The second line makes sure that redirects (in the form of Location: headers) are translated properly so that you don't end up bypassing your proxy.

Remember that your browsers are only going to see the reverse proxy - so make sure your URLs are correct to the proxy, not the backend machine. A general rule to avoid problems is to make sure that your URL on the frontend and the URL on the backend are the same, eg:

Do you need help?X

ProxyPass /some/section/ http://backend.example.com/some/section/ ProxyPassReverse /some/section/ http://backend.example.com/some/section/  

Regards,
Graham

-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."

Received on Sat Aug 25 08:46:53 2001

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:34 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library