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:
@@ -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"
|
||||
))
|
||||
)
|
||||
|
Reference in New Issue
Block a user