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

2020-07-31 Thread eika from Ru-Board
Hi folks! I come across with issue I can't fix. I have Apache/2.4.43 OpenSSL/1.1.1g with mod_autoindex (showing directory listings instead of index.html) and with mod_deflate. I was able to get content gzipped, but only if they are files with extensions (e.g. .css, .html, etc.) But when I want to

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

2020-07-31 Thread alchemist vk
Hi All, If I set LimitRequestLine to 128 and If I give any request field whose length is more than 128, apache returns 400 bad request with default xml error response as below. < HTTP/1.1 400 Bad Request < Content-Length: 278 < Connection: close < Content-Type: text/html; charset=iso-8859-1 <

Re: [users@httpd] apache config check for non available field in request

2020-07-31 Thread alchemist vk
Thanks Eric for your response. Your suggestion : RewriteCond %{HTTP:Content-Type} '"" worked like a charm.. You made my day.. Thanks you again.. With Regards, A On Thu, Jul 30, 2020 at 6:28 PM Eric Covener wrote: > On Thu, Jul 30, 2020 at 8:38 AM alchemist vk > wrote: > > > > Hi Al