mod_deflate's problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just think Apache's mod_deflate has a weak point.
When client doesn't declare it accept encoding, apache returns an
uncompressed object, but for this object mod_deflate also returns a
"Vary: Accept-Encoding" header.
This make some browsers be confused. In fact my current IE6 sp2 can't
download that object.

How to resolve it? my current thought is to write an input filter for
apache, when client doesn't accept encoding, redirect the request to
pathA which is not mod_deflate enabled. otherwise redirect the request
to pathB which is mod_deflate enabled. both pathA and pathB have the
same contents (or pathA is a softlink to pathB).

//joy

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux