httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen Geilman <jer...@adaptr.nl>
Subject Re: [users@httpd] Proxy´ing a remote site
Date Tue, 16 Aug 2011 11:21:05 GMT
On 2011-08-16 09:23, Søren Schimkat wrote:
> Hi Guys
>
> I would like to make a remote website appear as existing on a local 
> virtual host, but I'm having trouble with understandig how to do it. 
> Virtual hosting i working just fine, but getting the remote site into 
> the local space is just killing me.
>
> What I need to do is to have www.remote.com til appear as www.local.com.

mod_proxy_http will do this just fine.

Configure Proxypass and ProxypassReverse as documented.

> The remote site contains some fully qualified links and references to 
> images like this: <a href="http://www.remote.com/somestuf/page2.htm" 
> title="Page 2"><img src="http://www.remote.com/images/page2.gif"></a>

> ..  that would need to be rewritten.

That is not possible with mod_proxy.

There is a third-party module that does just that however: mod_proxy_html.

You can find it here: http://apache.webthing.com/mod_proxy_html/



-- 
J.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message