diff options
Diffstat (limited to 'config/httpd.conf-example')
-rw-r--r-- | config/httpd.conf-example | 10 |
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> |