Hello. No luck yet...
Address of HTML from server1: http://MyPC.aabbcc.com/LocalServer.htm<http://mypc.aabbcc.com/LocalServer.htm> (I 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"); oXmlHttpRequest.open("GET", "** http://MyPC.aabbcc.com/RemoteServerTest/RemoteServer.asp*<http://mypc.aabbcc.com/RemoteServerTest/RemoteServer.asp> *", false); oXmlHttpRequest.send(null); sRemoteServerRespons = oXmlHttpRequest.responseText;* Description: To avoid cross-domain issue, the domain name ("MyPC.aabbcc.com") 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: http://ServerName.xxyyzz.com/RemoteServerTest/RemoteServer.asp<http://servername.xxyyzz.com/RemoteServerTest/RemoteServer.asp> (where "RemoteServerTest" is the name of the IIS virtual directory) in the httpd.conf this is my code: *ProxyRequests Off* *ProxyPass aabbcc.com/ **http://ServerName.xxyyzz.com/*<http://servername.xxyyzz.com/> The respons I get is: *"The requested URL /RemoteServerTest/RemoteServer.asp was not found on this server."* Do I miss something? Thanks. On Sat, Oct 18, 2008 at 11:15 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Sat, Oct 18, 2008 at 4:40 PM, Amir Porat <[EMAIL PROTECTED]> wrote: > > Hello. > > > > I guess I have cross-domain problem: > > HTML page from server1 has to send XMLHTTPRequest to server2. > > server1 and server2 are not in the same domain. > > Send the request to server1 instead, and configure server1 to reverse > proxy it to server2. > > http://httpd.apache.org/docs/2.2/mod/mod_proxy.html > > Anything else would be OT here. > > -- > 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
