httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Porat" <amir.po...@gmail.com>
Subject Re: [users@httpd] Reverse proxy (cross domain) - ProxyPass issue
Date Sun, 19 Oct 2008 13:13:42 GMT
My xmlHTTPRequest is:

*oXmlHttpRequest.open("GET", "**
http://example.com/mirror/foo/RemoteServerTest*<http://example.com/mirror/foo/RemoteServerTest>
*", false);*



The config file code is:

*ProxyPass /mirror/foo/ http://server2.aaabbb.com/*



The expected URL should be:

*http://server2.aaabbb.com/RemoteServerTest*<http://server2.aaabbb.com/RemoteServerTest>



Now I'm getting "permission denied" msg.

Do I need to add this:  *./configure --enable-proxy    ??*

**


On Sun, Oct 19, 2008 at 2:49 PM, Eric Covener <covener@gmail.com> wrote:

> On Sun, Oct 19, 2008 at 5:42 AM, Amir Porat <amir.porat@gmail.com> wrote:
> > Hello.
> >
> > I have HTML page from server1. this page should request (XMLHTTP) to
> server2
> > (not in the same domain) - cross domain issue here.
> > Trying to overcome this I tried to request HTML to server1:
> > oXmlHttpRequest.open("GET",
> > "http://server1.aabbcc.com/RemoteServerTest/RemoteServer.asp", false);
> >
> > and by reverse proxy to "redirect" the request:
> >
> > ProxyRequests Off
> >
> > ProxyPass aabbcc.com/ http://server2.xxyyzz.com/
>
> Neither argument looks correct.  See the examples that use a path
> followed by a URL:
>
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
>  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
>
>


-- 
Regards...
Porat Amir

Mime
View raw message