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_evasive",
55#  "mod_auth",
56#  "mod_authn_file",
57#  "mod_redirect",
58#  "mod_setenv",
59#  "mod_alias",
60)
61
62##
63#######################################################################
64
65#######################################################################
66##
67##  Config for various Modules
68##
69
70##
71## mod_expire
72##
73#include conf_dir + "/conf.d/expire.conf"
74
75##
76## mod_deflate
77##
78#include conf_dir + "/conf.d/deflate.conf"
79
80##
81## mod_magnet
82##
83#include conf_dir + "/conf.d/magnet.conf"
84
85##
86## mod_geoip
87##
88#include conf_dir + "/conf.d/geoip.conf"
89
90##
91## mod_ssi
92##
93#include conf_dir + "/conf.d/ssi.conf"
94
95##
96## mod_status
97##
98#include conf_dir + "/conf.d/status.conf"
99
100##
101## mod_webdav
102##
103#include conf_dir + "/conf.d/webdav.conf"
104
105##
106## mod_userdir
107##
108#include conf_dir + "/conf.d/userdir.conf"
109
110##
111## mod_cml
112##
113#include conf_dir + "/conf.d/cml.conf"
114
115##
116## mod_rrdtool
117##
118#include conf_dir + "/conf.d/rrdtool.conf"
119
120##
121## mod_secdownload
122##
123#include conf_dir + "/conf.d/secdownload.conf"
124
125##
126#######################################################################
127
128#######################################################################
129##
130## CGI/proxy modules
131##
132
133##
134## mod_proxy
135##
136#include conf_dir + "/conf.d/proxy.conf"
137
138##
139## SCGI (mod_scgi)
140##
141#include conf_dir + "/conf.d/scgi.conf"
142
143##
144## FastCGI (mod_fastcgi)
145##
146#include conf_dir + "/conf.d/fastcgi.conf"
147
148##
149## plain old CGI (mod_cgi)
150##
151#include conf_dir + "/conf.d/cgi.conf"
152
153##
154#######################################################################
155
156#######################################################################
157##
158## VHost Modules
159##
160##  Only load ONE of them!
161## ========================
162##
163
164##
165## You can use conditionals for vhosts aswell.
166##
167## see https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration
168##
169
170##
171## mod_evhost
172##
173#include conf_dir + "/conf.d/evhost.conf"
174
175##
176## mod_simple_vhost
177##
178#include conf_dir + "/conf.d/simple_vhost.conf"
179
180##
181## mod_mysql_vhost
182##
183#include conf_dir + "/conf.d/mysql_vhost.conf"
184
185##
186#######################################################################
187