Re: ContentDigest not working

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

 



Disabling mod_deflate does indeed fix the issue I am seeing, but I wish to disable compression for just one folder within the virtualhost.

From reading the docs I think I can do this via "SetEnv no-gzip 1" within the directory in my virtualhost config file.

But after reloading the config file and restart the server compression is still enabled on the directory in question.

The entry in the virtualhost looks like:
<Directory "/var/www/des/fix/">
                Options -Indexes
                AllowOverride All
                Order Allow,Deny
                Allow from All
                #RemoveOutputFilter tx
                SetEnv no-gzip 1
                ContentDigest On
</Directory>

The error log indicates that filtering is still happening. I have also tried using "RemoveOutputFilter tx" but got the same result.

What have I missed?


On 14/05/2015 13:55, Eric Covener wrote:
On Thu, May 14, 2015 at 8:09 AM, James O’Shaughnessy
<jameso@xxxxxxxxxxxx> wrote:
[Thu May 14 11:57:10.873578 2015] [filter:trace2] [pid 10790]
mod_filter.c(193): [client xx.xx.28.122:60285] Content-Type condition for
'deflate' did not match: no Content-Type


Content-MD5 seems to turn itself off it it sees certain types of
filters (that will change the body), including mod_deflate. Even if
those filters will later decide to not take any action.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-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