I use the "\" in order to escape the ".": https://httpd.apache.org/docs/2.4/rewrite/intro.html#regex, otherwise the "." will just match any single character. The brackets are used for matching one character of a group of characters, so I guess "." and "[.]" are essentially identical. That's the version I used: Code: <FilesMatch "\.xml\.gz$"> Header unset Content-Encoding </FilesMatch> That code appears to work with all the browsers I tried: Chrome, Edge, Firefox and Opera. The "RemoveOutputFilter" didn't seem to work for me. Isn't that way for you too? What happens if you try my version of code?