RE: [squid-users] Noob question about file types

From: Gregori Parker <Gregori.Parker_at_theplatform.com>
Date: Mon, 26 Jan 2009 18:33:07 -0800

Simplest solution (not that you arent keen!) would be to add the
following to your squid.conf

        request_header_access Accept-Encoding deny all

This will remove those pesky headers that some browsers send.

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Monday, January 26, 2009 4:19 PM
To: zlotvor
Cc: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Noob question about file types

zlotvor wrote:
> Hi,
>
> Is possible to change the extension of the file that server sends to
> browser?
> Problem is that I have a web server(IIS) with svg graphics in pages,
but the
> server sends files with .svg.gz extension instead of .svg
or
> .svgz. And only IE can show that file directly, everything else
(firefox,
> konqueror, opera, etc.) just ask to save it. I cannot change the
behavior of
> the server, so the solution would be putting something between the
server
> and browser to change the extension of served file.
>
> Thanks in advance, Zoltan

If the browser indicates it accepts compressed versions, then fails to
decompress you need something to decompress in transit. Simply changing
the filename will result in error pages.

If you are keen you might want to try Squid-3.1 and the brand new
compression eCAP library.
   http://wiki.squid-cache.org/Features/eCAP

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12
   Current Beta Squid 3.1.0.4
Received on Tue Jan 27 2009 - 02:33:14 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 27 2009 - 12:00:03 MST