Re: [users@httpd] apache mod_proxy for cross-domain ajax calls

2015-01-02 Thread Kassal Kane
I have but to be honest Im not sure if Im doing this correctly. Below is my complete config. Then in javascript Im using localhost for the ip address in the GET statement. RewriteEngine On ProxyRequests Off Order deny,allow Allow from all ProxyPass /set_alarm.cgi   http://192.168.7.63:8122/

Re: [users@httpd] apache mod_proxy for cross-domain ajax calls

2015-01-02 Thread Eric Covener
On Fri, Jan 2, 2015 at 11:16 AM, Kassal Kane wrote: > ProxyPassMatch ^http://192.168.7.253:8122$ http://192.168.7.63:8122/$1 You'll probably find that none of the examples operate on a fully qualified URL, but just on the path. Have you tried just ProxyPass /set_alarm.cgi http://192 --

[users@httpd] apache mod_proxy for cross-domain ajax calls

2015-01-02 Thread Kassal Kane
Happy New Years all! Here is my problem/question: I have two webservers,see info below Web1 - 192.168.7.253 –Main webserver with Apache Web2 - 192.168.7.63 –Webcam with built in webserver that can be configured using cgi commands On web1 I have thefollowing javascript which does a GET to web2