diff options
author | Igor Wiedler <igor@wiedler.ch> | 2011-01-18 21:09:13 +0100 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2011-01-18 21:09:13 +0100 |
commit | 40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536 (patch) | |
tree | 43bf53c8ccf4ba4e5c41de1bd94d603e9344794d /phpBB/docs | |
parent | cde423591e90e58361b17f29f6841887573a0fa8 (diff) | |
parent | f6a14cbcef93f40cf368bc1ec5351fae09982e17 (diff) | |
download | forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.tar forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.tar.gz forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.tar.bz2 forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.tar.xz forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.zip |
Merge branch 'ticket/bantu/9790' into develop
* ticket/bantu/9790:
[ticket/9790] Support for lighttpd's X-Sendfile header for attachments.
[ticket/9790] Support for nginx's X-Accel-Redirect header for attachments.
[ticket/9790] Always call file_gc(false) before sending the file.
[ticket/9790] Add $exit parameter to file_gc().
Diffstat (limited to 'phpBB/docs')
-rw-r--r-- | phpBB/docs/lighttpd.sample.conf | 10 | ||||
-rw-r--r-- | phpBB/docs/nginx.sample.conf | 8 |
2 files changed, 18 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" )) ) diff --git a/phpBB/docs/nginx.sample.conf b/phpBB/docs/nginx.sample.conf index a22a126ff4..f74e988922 100644 --- a/phpBB/docs/nginx.sample.conf +++ b/phpBB/docs/nginx.sample.conf @@ -3,6 +3,14 @@ # from your system's nginx.conf. # Tested with nginx 0.8.35. +# If you want to use the X-Accel-Redirect feature, +# add the following to your config.php. +# +# define('PHPBB_ENABLE_X_ACCEL_REDIRECT', true); +# +# See http://wiki.nginx.org/XSendfile for the details +# on X-Accel-Redirect. + http { # Compression - requires gzip and gzip static modules. gzip on; |