diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-01-13 02:25:22 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-01-18 21:04:49 +0100 |
commit | f6a14cbcef93f40cf368bc1ec5351fae09982e17 (patch) | |
tree | 024c7d08ccef43fad5f5890acf5b00e8052526c2 /phpBB/docs | |
parent | 6bbdc129c09b781007863fc49a9c7f9f3b1cf157 (diff) | |
download | forums-f6a14cbcef93f40cf368bc1ec5351fae09982e17.tar forums-f6a14cbcef93f40cf368bc1ec5351fae09982e17.tar.gz forums-f6a14cbcef93f40cf368bc1ec5351fae09982e17.tar.bz2 forums-f6a14cbcef93f40cf368bc1ec5351fae09982e17.tar.xz forums-f6a14cbcef93f40cf368bc1ec5351fae09982e17.zip |
[ticket/9790] Support for lighttpd's X-Sendfile header for attachments.
PHPBB3-9790
Diffstat (limited to 'phpBB/docs')
-rw-r--r-- | phpBB/docs/lighttpd.sample.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/docs/lighttpd.sample.conf b/phpBB/docs/lighttpd.sample.conf index 5873d1c945..5862cb319d 100644 --- a/phpBB/docs/lighttpd.sample.conf +++ b/phpBB/docs/lighttpd.sample.conf @@ -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" )) ) |