Re: apache mod_proxy for cross-domain ajax calls
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
: "
users@xxxxxxxxxxxxxxxx
" <
users@xxxxxxxxxxxxxxxx
>
Subject
: Re: apache mod_proxy for cross-domain ajax calls
From
: Kassal Kane <
kassalkane@xxxxxxxx
>
Date
: Fri, 2 Jan 2015 17:52:24 +0000 (UTC)
In-reply-to
: <CALK=YjNmDRQ0DLkSQT4J0Us7EYOTfOqDzoEgs8RKGi-LvzhnQg@mail.gmail.com>
Reply-to
:
users@xxxxxxxxxxxxxxxx
Reply-to
: Kassal Kane <
kassalkane@xxxxxxxx
>
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:
> 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....
--
Eric Covener
covener@xxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail:
users-help@xxxxxxxxxxxxxxxx
References
:
apache mod_proxy for cross-domain ajax calls
From:
Kassal Kane
Re: apache mod_proxy for cross-domain ajax calls
From:
Eric Covener
Prev by Date:
Re: apache mod_proxy for cross-domain ajax calls
Next by Date:
Virtual Hosting: One website doesn't work.
Previous by thread:
Re: apache mod_proxy for cross-domain ajax calls
Next by thread:
Virtual Hosting: One website doesn't work.
Index(es):
Date
Thread
[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]