summaryrefslogtreecommitdiff
path: root/conf/dokuwiki.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-10-08 20:50:19 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-10-08 20:50:19 +0200
commit9a87c72a533121b83c56075947a3e27c853b2188 (patch)
tree9526b7fe6e2568bd5dfc739e97ecddfc93252c62 /conf/dokuwiki.php
parent1462e3ae97d9af23cc143bfaf7a48143673b3d40 (diff)
downloadrpg-9a87c72a533121b83c56075947a3e27c853b2188.tar.gz
rpg-9a87c72a533121b83c56075947a3e27c853b2188.tar.bz2
X-Sendfile support for fetch.php
This patch enables the use of the X-Sendfile extension offered by certain webservers to deliver static files after running a dynamic script. This combines the flexibility of a PHP file to check for authorization, caching and resizing with the low memory footprint and high performance of static file delivery of the webserver. See http://blog.lighttpd.net/articles/2006/07/02/x-sendfile for details darcs-hash:20071008185019-7ad00-1e6d4768fb60d58955e4253c7786eaf8cf13d0bb.gz
Diffstat (limited to 'conf/dokuwiki.php')
-rw-r--r--conf/dokuwiki.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index c041d0bee..bd92f4730 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -118,6 +118,7 @@ $conf['rss_update'] = 5*60; //Update the RSS feed every n minutes (
$conf['recent_days'] = 7; //How many days of recent changes to keep. (days)
$conf['rss_show_summary'] = 1; //Add revision summary to title? 0|1
$conf['broken_iua'] = 0; //Platform with broken ignore_user_abort (IIS+CGI) 0|1
+$conf['xsendfile'] = 0; //Use X-Sendfile (1 = lighttpd, 2 = standard)
//Set target to use when creating links - leave empty for same window
$conf['target']['wiki'] = '';