From f6a14cbcef93f40cf368bc1ec5351fae09982e17 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Thu, 13 Jan 2011 02:25:22 +0100 Subject: [ticket/9790] Support for lighttpd's X-Sendfile header for attachments. PHPBB3-9790 --- phpBB/docs/lighttpd.sample.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'phpBB/docs') 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" )) ) -- cgit v1.2.1