aboutsummaryrefslogtreecommitdiff
path: root/p/.htaccess
diff options
context:
space:
mode:
authorGravatar Dezponia <150628177+dezponia@users.noreply.github.com> 2025-03-13 22:40:26 +0100
committerGravatar GitHub <noreply@github.com> 2025-03-13 22:40:26 +0100
commitdf545b513b1c43e54da5b023bf3fe01bf36ad013 (patch)
tree7bccbde1e9c15081cdad481f347e79fe38df2bb7 /p/.htaccess
parente61f00cb64f6bc23c427b2bc5160050e07178e79 (diff)
Add check for Apache mod_filter to ensure "AddOutputFilterByType" works. (#7419)
* Update .htaccess Add check for Apache mod_filter to ensure "AddOutputFilterByType" works. * Explicit enabling mod_filter in our Docker images --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/.htaccess')
-rw-r--r--p/.htaccess6
1 files changed, 4 insertions, 2 deletions
diff --git a/p/.htaccess b/p/.htaccess
index d8c3e8486..e7376e46e 100644
--- a/p/.htaccess
+++ b/p/.htaccess
@@ -18,8 +18,10 @@ AddDefaultCharset UTF-8
AddCharset UTF-8 .js
</IfModule>
-<IfModule mod_deflate.c>
- AddOutputFilterByType DEFLATE application/javascript application/json application/xhtml+xml image/svg+xml text/css text/html
+<IfModule mod_filter.c>
+ <IfModule mod_deflate.c>
+ AddOutputFilterByType DEFLATE application/javascript application/json application/xhtml+xml image/svg+xml text/css text/html
+ </IfModule>
</IfModule>
<IfModule mod_expires.c>