Re: Reverse proxy (cross domain) - ProxyPass issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My xmlHTTPRequest is:

oXmlHttpRequest.open("GET", "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

 

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@xxxxxxxxx> wrote:
On Sun, Oct 19, 2008 at 5:42 AM, Amir Porat <amir.porat@xxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Regards...
Porat Amir

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux