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 <[EMAIL PROTECTED]> wrote:
> On Sun, Oct 19, 2008 at 5:42 AM, Amir Porat <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Regards...
Porat Amir