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 get gzipped page
coming from mod_autoindex, I can't get it. E.g. https://domain.dom,
https://domain.dom/somedir/, https://domain.dom/test/, etc. These URLs comes
without Content-encoding: gzip header.

I think that I am not far from the reason why, because I found that
directory indexes sent by chunks (transfer-encoding: chunked). But files
with extensions came with these headers:

Accept-Ranges: bytes
Content-Encoding: gzip
Content-Length: value

But I have no ideas what to do next. There is no way to force Content-Length
header. And I don't to force HTTP 1.0 protocol instead of HTTP 1.1.

More details: https://stackoverflow.com/questions/62942077/ (I hope that
external links are OK here).

Please advise.

Thanks!

--
Regards,
Art





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

Reply via email to