LP#1407171 Avoid DEFLATEing fm_IDL.xml
authorBill Erickson <berickxx@gmail.com>
Fri, 2 Jan 2015 22:50:26 +0000 (17:50 -0500)
committerBen Shum <bshum@biblio.org>
Thu, 22 Jan 2015 20:45:40 +0000 (15:45 -0500)
Prevent fm_IDL.xml from going through the Apache DEFLATE filter before
it's passed off to IDLCHUNK, which is unable to process deflated files.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/examples/apache/eg_vhost.conf.in
Open-ILS/examples/apache_24/eg_vhost.conf.in

index 6f3fae3..87e9054 100644 (file)
@@ -549,6 +549,7 @@ RewriteRule . - [E=locale:%1]
     IDLChunkStripDoctype "yes"
     IDLChunkContentType "application/xml; charset=utf-8"
     AddOutputFilter INCLUDES;IDLCHUNK .xml
+    SetEnv no-gzip
 </LocationMatch>
 
 # ----------------------------------------------------------------------------------
index 53275ae..3d60fda 100644 (file)
@@ -554,6 +554,7 @@ RewriteRule . - [E=locale:%1]
     IDLChunkStripDoctype "yes"
     IDLChunkContentType "application/xml; charset=utf-8"
     AddOutputFilter INCLUDES;IDLCHUNK .xml
+    SetEnv no-gzip
 </LocationMatch>
 
 # ----------------------------------------------------------------------------------