Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 78491 invoked from network); 27 Sep 2006 14:22:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2006 14:22:07 -0000 Received: (qmail 84770 invoked by uid 500); 27 Sep 2006 14:21:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 84758 invoked by uid 500); 27 Sep 2006 14:21:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 84747 invoked by uid 99); 27 Sep 2006 14:21:56 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2006 07:21:56 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=oliver@samera.com.py; spf=pass X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: pass (idunn.apache.osuosl.org: domain samera.com.py designates 200.85.40.10 as permitted sender) Received: from [200.85.40.10] ([200.85.40.10:40526] helo=mail.samera.com.py) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 8A/40-27564-1098A154 for ; Wed, 27 Sep 2006 07:21:55 -0700 Received: from [192.168.1.1] (sojourner.samera.com [192.168.1.1]) by mail.samera.com.py (8.13.1/8.13.1) with ESMTP id k8RELluw031945 for ; Wed, 27 Sep 2006 10:21:47 -0400 Message-ID: <451A8921.7030108@samera.com.py> Date: Wed, 27 Sep 2006 10:22:25 -0400 From: "Oliver Schulze L." User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: users@httpd.apache.org References: <451436D7.8050700@samera.com.py> In-Reply-To: <451436D7.8050700@samera.com.py> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: Samera.com.py - MIMEdefang.org 2.53 - ClamAV.net 0.86.1 - SpamAssassin.org 3.04 Subject: Re: [users@httpd] Chaging CR/LF on-the-fly with mod_publisher X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: > > ... > 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 > > > 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 for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org