1####################################################################### 2## 3## Modules to load 4## ----------------- 5## 6## Load only the modules needed in order to keep things simple. 7## 8## lighttpd automatically adds the following default modules 9## to server.modules, if not explicitly listed in server.modules: 10## "mod_indexfile", "mod_dirlisting", "mod_staticfile" 11## 12## You may disable automatic loading of default modules by setting 13## server.compat-module-load = "disable" 14## 15## lighttpd provides many modules, and not all are listed below. Please see: 16## https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ConfigurationOptions 17## 18## Modules, which are pulled in via conf.d/*.conf 19## 20## - mod_accesslog -> conf.d/access_log.conf 21## - mod_deflate -> conf.d/deflate.conf 22## - mod_status -> conf.d/status.conf 23## - mod_webdav -> conf.d/webdav.conf 24## - mod_cml -> conf.d/cml.conf 25## - mod_evhost -> conf.d/evhost.conf 26## - mod_simple_vhost -> conf.d/simple_vhost.conf 27## - mod_mysql_vhost -> conf.d/mysql_vhost.conf 28## - mod_trigger_b4_dl -> conf.d/trigger_b4_dl.conf 29## - mod_userdir -> conf.d/userdir.conf 30## - mod_rrdtool -> conf.d/rrdtool.conf 31## - mod_ssi -> conf.d/ssi.conf 32## - mod_cgi -> conf.d/cgi.conf 33## - mod_scgi -> conf.d/scgi.conf 34## - mod_fastcgi -> conf.d/fastcgi.conf 35## - mod_proxy -> conf.d/proxy.conf 36## - mod_secdownload -> conf.d/secdownload.conf 37## - mod_expire -> conf.d/expire.conf 38## 39## NOTE: The order of modules in server.modules is important. 40## 41## Modules which gate requests (e.g. mod_access, mod_auth) or modify 42## requests (e.g. mod_alias, mod_setenv) should be listed before 43## modules which complete requests (e.g. mod_redirect, mod_rewrite), 44## and which, in turn, should be listed before dynamic handlers 45## (e.g. mod_cgi, mod_fastcgi, mod_proxy, mod_scgi, ...) 46## 47## DO NOT alphabetize modules. 48## Alphabetizing may break expected functionality. See explanation above. 49## 50 51server.modules = ( 52# "mod_rewrite", 53 "mod_access", 54 "mod_cgi", 55# "mod_evasive", 56# "mod_auth", 57# "mod_authn_file", 58# "mod_redirect", 59# "mod_setenv", 60# "mod_alias", 61) 62 63## 64####################################################################### 65 66####################################################################### 67## 68## Config for various Modules 69## 70 71## 72## mod_expire 73## 74#include "conf.d/expire.conf" 75 76## 77## mod_deflate 78## 79#include "conf.d/deflate.conf" 80 81## 82## mod_magnet 83## 84#include "conf.d/magnet.conf" 85 86## 87## mod_geoip 88## 89#include "conf.d/geoip.conf" 90 91## 92## mod_ssi 93## 94#include "conf.d/ssi.conf" 95 96## 97## mod_status 98## 99#include "conf.d/status.conf" 100 101## 102## mod_webdav 103## 104#include "conf.d/webdav.conf" 105 106## 107## mod_userdir 108## 109#include "conf.d/userdir.conf" 110 111## 112## mod_cml 113## 114#include "conf.d/cml.conf" 115 116## 117## mod_rrdtool 118## 119#include "conf.d/rrdtool.conf" 120 121## 122## mod_secdownload 123## 124#include "conf.d/secdownload.conf" 125 126## 127####################################################################### 128 129####################################################################### 130## 131## CGI/proxy modules 132## 133 134## 135## mod_proxy 136## 137#include "conf.d/proxy.conf" 138 139## 140## SCGI (mod_scgi) 141## 142#include "conf.d/scgi.conf" 143 144## 145## FastCGI (mod_fastcgi) 146## 147#include "conf.d/fastcgi.conf" 148 149## 150## plain old CGI (mod_cgi) 151## 152#include "conf.d/cgi.conf" 153 154## 155####################################################################### 156 157####################################################################### 158## 159## VHost Modules 160## 161## Only load ONE of them! 162## ======================== 163## 164 165## 166## You can use conditionals for vhosts aswell. 167## 168## see https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration 169## 170 171## 172## mod_evhost 173## 174#include "conf.d/evhost.conf" 175 176## 177## mod_simple_vhost 178## 179#include "conf.d/simple_vhost.conf" 180 181## 182## mod_mysql_vhost 183## 184#include "conf.d/mysql_vhost.conf" 185 186## 187####################################################################### 188 189cgi.assign = ( ".php" => "/usr/bin/php-cgi") 190