summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-13 00:54:57 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-13 00:54:57 +0200
commit4bd1de9fddf7b02e76184e8af3fe808037040285 (patch)
tree03f88a2991e506668a9fee189a94b6abd0d2ac41 /.htaccess
parent437d7e21a69a2a377f664d88e932a6f3d59270a3 (diff)
downloadbugzilla-4bd1de9fddf7b02e76184e8af3fe808037040285.tar.gz
bugzilla-4bd1de9fddf7b02e76184e8af3fe808037040285.tar.xz
Bug 398546 - config.cgi using the RDF format can generate a pretty large file
r=dkl
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess6
1 files changed, 6 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index f9eeb541c..a2d882d80 100644
--- a/.htaccess
+++ b/.htaccess
@@ -42,3 +42,9 @@ Options -Indexes
RewriteOptions inherit
RewriteRule ^rest/(.*)$ rest.cgi/$1 [NE]
</IfModule>
+
+# config.cgi using the RDF format can generate a pretty large file (several MB).
+# The XML format of bug reports can be quite large too.
+<IfModule mod_deflate.c>
+ AddOutputFilterByType DEFLATE text/xml application/rdf+xml
+</IfModule>