Re: apache mod_proxy for cross-domain ajax calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
<Proxy>
Order deny,allow
Allow from all
</Proxy>


ProxyPass /set_alarm.cgi  http://192.168.7.63:8122/set_alarm.cgi?motion_armed=1&schedule_enable=1
ProxyPassReverse /set_alarm.cgi http://192.168.7.63:8122/set_alarm.cgi?motion_armed=1&schedule_enable=1


On Friday, January 2, 2015 8:42 AM, Eric Covener <covener@xxxxxxxxx> wrote:


On Fri, Jan 2, 2015 at 11:16 AM, Kassal Kane <kassalkane@xxxxxxxx> wrote:

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....


--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux