aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-08-28 14:57:00 +0100
committerLouise Crow <louise.crow@gmail.com>2013-09-16 15:43:11 +0100
commitc2b7edc20c7002109b68e84b4f12f8182ba03f00 (patch)
tree5232e100f234548c64e52d611d1b6e52b527e69a /config
parent56ce526acdcb1b5493bc11f14b751b5c3f02f686 (diff)
Add some upgrade notes.
Diffstat (limited to 'config')
-rw-r--r--config/httpd.conf-example10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/httpd.conf-example b/config/httpd.conf-example
index 1326252f5..dc2e4966e 100644
--- a/config/httpd.conf-example
+++ b/config/httpd.conf-example
@@ -69,3 +69,13 @@ RewriteRule ^/request/((\d{1,3})\d*)/(response/\d+/attach/(html/)?\d+/.+) /views
AddOutputFilterByType DEFLATE font/opentype font/truetype font/eot
AddOutputFilterByType DEFLATE image/svg+xml
</IFModule>
+
+# Set the Sendfile header and switch sendfile on - Apache will
+# now handle send_file calls from Alaveteli
+<Location />
+ <IfModule mod_xsendfile.c>
+ RequestHeader Set X-Sendfile-Type X-Sendfile
+ XSendFile On
+ XSendFileAllowAbove On
+ </IfModule>
+</Location>