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