mod_filter with mod_include problem

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

 



I am trying to use mod_filter to setup server-side includes as well as compression.  However, I'm observing rather odd behavior.  Apache sends the "Content-Encoding: gzip" header, but sends the data uncompressed (causing FireFox to display "Content Encoding Error").  The compression works fine for pages that don't end in .shtml.  Below are the relevant bits of my configuration files.  I'm ussing Apache 2.2.9.  Can anyone offer insights or suggestions?  Any help would be greatly appreciated.

AddHandler server-parsed .shtml
FilterDeclare ssi
FilterProvider ssi INCLUDES handler server-parsed
FilterProtocol ssi INCLUDES change=yes
FilterChain @ssi

FilterDeclare deflate
FilterProvider deflate DEFLATE resp=Content-Type /text.*|application.(x-)?_javascript_/
FilterProtocol deflate DEFLATE change=yes;bytesranges=no
FilterChain +deflate
--
Daniel Stutzbach, Ph.D.
http://www.barsoom.org/

[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