You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Melanie Langlois <Me...@tradingscreen.com> on 2007/05/11 08:34:22 UTC

[users@httpd] apache proxy domain

Hi,

I want to load external pages in my web application and make them appear as they are from local domain. I need to do this to be able to access the html content of the frame.
I then configure apache server to act as reverse proxy :
So when I ask for /external, apache load the page on http://www.externaldomain.com/external

The loading part works fine, however, the domain of the frame is still undefined for my application. I need apache to return the page with the localhost domain.
I tried to add ProxyDomain as localhost in my httpd.conf, but I couldn't even restart apache, I had an error.

What should I do to make apache return the web content with the localhost domain ?

Thanks,

Mélanie


---------------------------------------------------------------------
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


Re: [users@httpd] apache proxy domain

Posted by Joshua Slive <jo...@slive.ca>.
On 5/11/07, Melanie Langlois <Me...@tradingscreen.com> wrote:
> Hi,
>
> I want to load external pages in my web application and make them appear as they are from local domain. I need to do this to be able to access the html content of the frame.
> I then configure apache server to act as reverse proxy :
> So when I ask for /external, apache load the page on http://www.externaldomain.com/external
>
> The loading part works fine, however, the domain of the frame is still undefined for my application. I need apache to return the page with the localhost domain.
> I tried to add ProxyDomain as localhost in my httpd.conf, but I couldn't even restart apache, I had an error.
>
> What should I do to make apache return the web content with the localhost domain ?

Try the ProxyPass directive and google for "reverse proxy".

Joshua.

---------------------------------------------------------------------
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