Re: [users@httpd] Virtual Hosting: One website doesn't work.

2015-01-02 Thread Eric Covener
On Fri, Jan 2, 2015 at 7:52 PM, wrote: > But there is one site that is does not load at all: > > $ telnet example.com 80 > Trying 104.236.25.70... > Connected to example.com. > Escape character is '^]'. > GET / HTTP/1.1 > Host: www.example.com > > Location: http://example.com/ Does example.com w

[users@httpd] Virtual Hosting: One website doesn't work.

2015-01-02 Thread ghalvors78
Hello, Running Ubuntu 14.04 LTS on a Digital Ocean droplet. This machine is running Apache/2.4.10 The /etc/apache2/apache2.conf has never been modified and is hosting a number of sites. But there is one site that is does not load at all: $ telnet example.com 80 Trying 104.236.25.70... Connec

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