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:[email protected]]
Sent: 04 August 2020 13:39 PM
To: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]