Re: ProxyPass question

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

 



If I understand your question correctly, think you need to configure:

ProxyPass /Camera/ http://10.10.10.249:7000/
ProxyPass /discover.cgi http://10.10.10.249:7000/discover.cgi


The ProxyPassReverse lines work only for redirects. /discover.cgi is not a redirect, but probably inside the content of one of your previous requests, so url /discover.cgi is NOT translated to /Camera/discover.cgi


Anne Blankert

On 13-6-2012 10:17, Janos Dohanics wrote:
Hello List,

I need to proxy a DVR's built-in web server. I have this in
httpd-ssl.conf:

ProxyPass /Camera/ http://10.10.10.249:7000/
ProxyPassReverse /Camera/ http://10.10.10.249:7000/

The DVR's web page gets displayed - but not all of it. Here is the
snippet of the log file:

141.158.70.143 - - [13/Jun/2012:00:57:06 -0400] "GET /Camera/ HTTP/1.1" 200 2602
141.158.70.143 - - [13/Jun/2012:00:57:06 -0400] "GET /Camera/js/drag.js HTTP/1.1" 200 5031
[...]
141.158.70.143 - - [13/Jun/2012:00:57:12 -0400] "GET /Camera/system_js/config.js HTTP/1.1" 200 10911
141.158.70.143 - - [13/Jun/2012:00:57:14 -0400] "POST /discover.cgi?ALL HTTP/1.1" 404 210
[...]
141.158.70.143 - - [13/Jun/2012:00:57:14 -0400] "GET /xml/dvr/english/webpage.xml HTTP/1.1" 404 225
141.158.70.143 - - [13/Jun/2012:00:57:14 -0400] "GET /xml/dvr/english/webpage.xml HTTP/1.1" 404 225

The correct requests for the 404 items are of course /Camera/discover.cgi?
ALL and /Camera/xml/dvr/english/webpage.xml

Would you please advise?




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