Apache LocationMatch throws 500 and AddOutputFilterByType does nothing
- by tackleberry
I need to add below directives to apache. But I get 500 when I add these lines.
<LocationMatch "^/assets/.*$">
Header unset ETag
FileETag None
# RFC says only cache for 1 year
ExpiresActive On
ExpiresDefault "access plus 1 year"
</LocationMatch>
Additionally response is not gzipped when I add:
AddOutputFilterByType DEFLATE text/html…