1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

[ticket/9790] Support for lighttpd's X-Sendfile header for attachments.

PHPBB3-9790
This commit is contained in:
Andreas Fischer
2011-01-13 02:25:22 +01:00
parent 6bbdc129c0
commit f6a14cbcef
2 changed files with 18 additions and 15 deletions

View File

@@ -3,6 +3,15 @@
# from your system's lighttpd.conf.
# Tested with lighttpd 1.4.26
# If you want to use the X-Sendfile feature,
# uncomment the 'allow-x-send-file' for the fastcgi
# server below and add the following to your config.php
#
# define('PHPBB_ENABLE_X_SENDFILE', true);
#
# See http://blog.lighttpd.net/articles/2006/07/02/x-sendfile
# for the details on X-Sendfile.
# Load moules
server.modules += (
"mod_access",
@@ -54,6 +63,7 @@ $HTTP["host"] == "www.myforums.com" {
"bin-copy-environment" => (
"PATH", "SHELL", "USER"
),
#"allow-x-send-file" => "enable",
"broken-scriptfilename" => "enable"
))
)