httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 64372] New: mod_brotli example is a little bit evil (serving precompressed)
Date Thu, 23 Apr 2020 19:06:32 GMT

            Bug ID: 64372
           Summary: mod_brotli example is a little bit evil (serving
           Product: Apache httpd-2
           Version: 2.4.38
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
  Target Milestone: ---

The "Serving pre-compressed content" section caused me quite a long time to
resolve. I hope my failures are your way to make it better and easier for the
innocent newcomers.

- The example needs "RewriteEngine On". (That really hurts.)

- There are a lot of backslahes out there. Half of them is not required at all
and only confuses people. 

- REQUEST_FILENAME has a good chance not to exist; it works way better to use 
RewriteCond "%{LA-U:REQUEST_FILENAME}\.br" "-s"

- May be a bug, but unless I do
RewriteRule "^(.*)\.css$"              "$"  [QSA,E=no-gzip:1]
all the content is double-compressed by brotli THEN gzip, and things start to

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message