RE: [users@httpd] Apache mod_autoindex and mod_deflate (gzip). Can't get pages compressed

2020-08-04 Thread eika from Ru-Board
Hi Rainer! Thanks you again. This is what I tried: FilterDeclare COMPRESS FilterProvider COMPRESSDEFLATE "%{CONTENT_TYPE} =~ m#text/html#" FilterProvider COMPRESSDEFLATE "%{CONTENT_TYPE} =~ m#text\/html.*$#" FilterProvider COMPRESSDEFLATE "%{CONTENT_TYPE} =~

[users@httpd] Re: Returning customized error message when LimitRequestLine value exceeds

2020-08-04 Thread alchemist vk
Regarding above issue, In apache source code, "rv == APR_ENOSPC" condition in protocol.c gets true and then gets logged with "Request header exceeds LimitRequestFieldSize%s" in error_log.. Since error code is set HTTP_BAD_REQUEST, this call returns with 400 error code with XML error response.

Re: [users@httpd] Apache mod_autoindex and mod_deflate (gzip). Can't get pages compressed

2020-08-04 Thread Rainer Canavan
[...] > FilterProvider COMPRESSDEFLATE "%{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.