Date: Sat, 5 Apr 2003 21:33:32 -0800 From: Kris Kennaway <kris@obsecurity.org> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: bento tbz files decompressed on the fly when downloading ? Message-ID: <20030406053332.GA49653@rot13.obsecurity.org> In-Reply-To: <Pine.BSF.4.53.0304041932340.72648@e0-0.zab2.int.zabbadoz.net> References: <Pine.BSF.4.53.0303231733100.87276@e0-0.zab2.int.zabbadoz.net> <20030323224757.GA27897@rot13.obsecurity.org> <Pine.BSF.4.53.0304041932340.72648@e0-0.zab2.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2003 at 07:34:33PM +0000, Bjoern A. Zeeb wrote: > On Sun, 23 Mar 2003, Kris Kennaway wrote: >=20 > Hi, >=20 > > On Sun, Mar 23, 2003 at 05:38:25PM +0000, Bjoern A. Zeeb wrote: > > > > > and not 'bzip2 compressed data, block size =3D ...' > > > > > > using fetch and for test also wget, not a browser ... > > > > > > Is there some transparent decompression on bento ? > > > > Oops..yes :) I'll have to try and exclude the package directories. >=20 > Could you solve this ? I took a look at this but couldn't work out how to solve it. apache on bento is using mod_bunzip2 with the following config: # Added kk 010203 LoadModule bunzip2_module libexec/apache/mod_bunzip2.so AddModule mod_bunzip2.c AddHandler send-bunzip2 .html .log RewriteEngine on RewriteCond /usr/local/www/data/%{REQUEST_FILENAME} !-f RewriteRule ^(.+)\.log$ $1.log.bz2 It appears there is an implicit "decompress all .bz2 and .tbz files" that needs to be selectively disabled for files in the package trees. I don't know how to do this. Kris --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+j7wsWry0BWjoQKURAu18AKDpUDMK1dtkfzQasdX/bCtXo8Tb3gCfTXWY d5h7uZb2l6aqs+CvDiJAxoA= =ojbn -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030406053332.GA49653>