Hi Rainer!

Thanks you again.

This is what I tried:

FilterDeclare   COMPRESS        
FilterProvider  COMPRESS        DEFLATE "%{CONTENT_TYPE} =~ m#text/html#"
FilterProvider  COMPRESS        DEFLATE "%{CONTENT_TYPE} =~ m#text\/html.*$#"
FilterProvider  COMPRESS        DEFLATE "%{CONTENT_TYPE} =~ m#text\/html\.*$#"
FilterChain             COMPRESS        gzip_compression
FilterProtocol  COMPRESS        DEFLATE change=yes;byteranges=no

And still the same. I.e. chunked content :(

Is my syntax incorrect and doesn't cover [Content-Type is 
'text/html;charset=UTF-8'] header?

-----Original Message-----
From: Rainer Canavan [mailto:rainer.canavan+httpdus...@avenga.com] 
Sent: 04 August 2020 13:39 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache mod_autoindex and mod_deflate (gzip). Can't 
get pages compressed

[...]
>         FilterProvider  COMPRESS        DEFLATE "%{Content_Type} = 
> 'text\/html.*$'"

I don't think you can use regular expressions with just '=', you'll have to use 
'=~'

search 'regex' in the documentation at
https://httpd.apache.org/docs/2.4/expr.html for the exact syntax required.


rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to