httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne Blankert <anne.blank...@geodan.nl>
Subject Re: [users@httpd] ProxyPass question
Date Wed, 13 Jun 2012 11:20:50 GMT
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message