httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Porat" <>
Subject [users@httpd] Cross - Domain reverse proxy problem
Date Sun, 19 Oct 2008 07:57:58 GMT

I have cross domain problem when I try to send xmlHTTPRequest from server1,
HTML, to server2, ASP. the servers are not in the same domain

Address of HTML from server1:<>
use my PC, win server2003, as server1 for this test).

In this HTML page, this is my JavaScrip code:

*var oXmlHttpRequest = new ActiveXObject("MSXML2.XMLHTTP");**"GET", "***<>
*", false);**
sRemoteServerRespons = oXmlHttpRequest.responseText;*


To avoid cross-domain issue, the domain name
is of server1 and the rest of the address is of server2.

ReverseProxy, if I got it right, should replce domain name of server1 with
this domain name of server2 (correct?)

Address of ASP on server2:<>
(where "RemoteServerTest" is the name of the IIS virtual directory)

in the httpd.conf this is my code:

*ProxyRequests Off*


The respons I get is:

*"The requested URL /RemoteServerTest/RemoteServer.asp was not found on this

Do I miss something?


Porat Amir

View raw message