It is posible the modify the header info also?
I'm having a problem with the device that is sending non 100% html
compliant headers.
Thanks
Oliver
Oliver Schulze L. wrote:
Hi.
I'm doing a ProxyPass in apache 2.0 of a IP camera.
The camara has a built-in webserver and I'm having a problem
the that webserver, because it sends all the http files in DOS mode,
that is, having CR/LF as the newline separator.
In the traffic flow, there is some squid proxy that does not like this
kind of CR/LF and the squid generate the errors:
1158877929.909 0 192.168.1.1 TCP_DENIED/400 1558 GET
error:missing-http-ident - NONE/- text/html
Also, if I do a wget of a file in the Ip camera, the file ends up in
DOS format.
My idea is to use mod_publisher or some mod to convert from CR/LF on
te fly
in apache. So, every squid that is the traffic flow does not DENIED
the file.
I tried this already:
<VirtualHost ....
...
ProxyPass / http://192.168.xx.yy/
ProxyPassReverse / http://192.168.xx.yy/
SetOutputFilter markup-publisher
MLRewriteRule http://192.168.xx.yy /
MLOutputMode HTML
MLRewriteOptions +events +attributes +characters +cdata
MLRewriteRule \r\n \n Rn
SetOutputFilter charset-lite
CharsetSourceEnc UTF-8
CharsetDefault ISO-8859-1
</VirtualHost>
Thanks
Oliver
--
Oliver Schulze L.
Get my e-mail after a captcha test in: http://tinymailto.com/oliver
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]