Re: [users@httpd] Proxy´ing a remote site
On 16-08-2011 13:21, Jeroen Geilman wrote: 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 2img 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/ Thanks man .. just what I needed. :-) Regards Søren -- www.soren.schimkat.dk http://www.soren.schimkat.dk (Sikker email er for alle - også dig!) https://www.nemid.nu/support/sikker_e-mail/i_gang_med_sikker_e-mail/
[users@httpd] Proxy´ing a remote site
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. 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 2img src=http://www.remote.com/images/page2.gif;/a .. that would need to be rewritten. How can I get this remote site into my local Virtual host, so the remtote site appears at running entirely on the local server? I've tried messing around with rewrite rules, proxypass directive ... but I just can't get i right. Could someone please help me out here? Regards Søren Schimkat - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Proxy´ing a remote site
On Tue, Aug 16, 2011 at 12:53 PM, Søren Schimkat schim...@schimkat.dk 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. 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 2img src=http://www.remote.com/images/page2.gif;/a .. that would need to be rewritten. How can I get this remote site into my local Virtual host, so the remtote site appears at running entirely on the local server? I've tried messing around with rewrite rules, proxypass directive ... but I just can't get i right. Could someone please help me out here? I have once gone through this painful exercise and I have a very complex setup. You can read a brief working tutorial which I have written http://mightydreams.blogspot.com/2011/03/running-multiple-applications-in-lan.html it might help. If you can post 1) the vhost configurations, 2) give link to your site 3) Give request response headers (only the related ones) as what happens when you request what (with your config) that may help any one on list to answer the question. - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Proxy´ing a remote site
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 2img 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org