Re: special proxying

Graham Leggett <[email protected]> Tue, 16 Sep 2003 13:50:47 +0200
Newsgroups gmane.comp.apache.mod-proxy
Message-ID <[email protected]>
M.Zdila/EpiSoftware Slovakia Ltd. wrote:

> Have anybody ANY idea how to solve this problem? Is mod_proxy capable of
> this - and if yes - how?

If you use the ProxyPass and ProxyPassReverse options to set up a 
reverse proxy, mod_proxy will do what you need to do, yes. Read the 
Apache docs for more details.

On the URL rewriting, it is usually best not to rewrite the URL at all, 
as this breaks many things, like flash, some links, etc like you mentioned.

What you could do is set up a virtual host to front each of the backend 
websites, so http://www.sitea.com/ might be proxied through the virtual 
host http://sitea.myeductionaportal.com/. In this case the URL stays the 
same, only the site name changes. If the site name is hard coded, the 
client's browser will bypass you and go direct to the site and you won't 
see the traffic, but at least it will work.

Another option is to use an URL that redirects them to the remote 
website. The redirector logs the hit, and then the user is passed to the 
remote website directly. You do not have control over this user after 
this, you may or may not want that.

Regards,
Graham
-- 
-----------------------------------------
[email protected]		"There's a moon
					over Bourbon Street
						tonight..."