Hi All,
I want to use Mode_rewrite to make a xmlhttprequest GET call to another webserver but I having troubles figuring what the rule should be.
Here is my javascripte call
xmlhttp.open("GET","http://192.168.7.63/set_alarm.cgi?motion_armed=1&schedule_enable=1",true);
My primary apache web server ip is 192.168.7.253.
What I believe I need to do is change the ip address in the above xmlhttp.open statement to my primary ip and then create a rule that matches url that starts with
192.168.7.253/set_alarm.cgi
and rewrites it to start with but keeps the rest of the url in tack
192.168.7.63/set_alarm.cgi
I can figure out how to do this? Any suggestions?