Re: [users@httpd] mod_deflate/mod_filter configuration

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

 



On Wednesday 31 May 2006 11:10, ROLLER Carl wrote:

> mod_deflate Apache 2.2.2 configuration:
> DeflateBufferSize 8192
> DeflateCompressionLevel 6
> DeflateFilterNote Ratio ratio
> DeflateMemLevel 9
> DeflateWindowSize 15
> FilterDeclare comp-resp
> FilterProvider comp-resp DEFLATE Request_URI
> /\.?htm|\.txt|\.xml|\.xsl|\.dtd|\.jsp|\.jsv|\.do|\.asp|\.srv/
> FilterProvider comp-resp DEFLATE Content-Type /^text.*/

That gives you a regexp match, which is unnecessary.
Just use "$text/", for starts-with string match.

> FilterProvider comp-resp INFLATE Content-Type /^text.css/

No.  INFLATE is a filter.  You don't want it there: you just
want a nothing.

Either use a more precisely-matched regexp, or a list of
individual patterns to match.

-- 
Nick Kew

---------------------------------------------------------------------
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