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.4Received on Tue Jan 27 2009 - 00:19:16 MST
This archive was generated by hypermail 2.2.0 : Tue Jan 27 2009 - 12:00:03 MST