xref: /lighttpd1.4/doc/config/modules.conf (revision 1eda5074)
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_evhost        -> conf.d/evhost.conf
25## - mod_simple_vhost  -> conf.d/simple_vhost.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_expire        -> conf.d/expire.conf
34##
35## NOTE: The order of modules in server.modules is important.
36##
37## Modules which gate requests (e.g. mod_access, mod_auth) or modify
38## requests (e.g. mod_alias, mod_setenv) should be listed before
39## modules which complete requests (e.g. mod_redirect, mod_rewrite),
40## and which, in turn, should be listed before dynamic handlers
41## (e.g. mod_cgi, mod_fastcgi, mod_proxy, mod_scgi, ...)
42##
43## DO NOT alphabetize modules.
44## Alphabetizing may break expected functionality.  See explanation above.
45##
46
47server.modules = (
48#  "mod_rewrite",
49  "mod_access",
50#  "mod_auth",
51#  "mod_authn_file",
52#  "mod_redirect",
53#  "mod_setenv",
54#  "mod_alias",
55)
56
57##
58#######################################################################
59
60#######################################################################
61##
62##  Config for various Modules
63##
64
65##
66## mod_expire
67##
68#include conf_dir + "/conf.d/expire.conf"
69
70##
71## mod_deflate
72##
73#include conf_dir + "/conf.d/deflate.conf"
74
75##
76## mod_magnet
77##
78#include conf_dir + "/conf.d/magnet.conf"
79
80##
81## mod_ssi
82##
83#include conf_dir + "/conf.d/ssi.conf"
84
85##
86## mod_status
87##
88#include conf_dir + "/conf.d/status.conf"
89
90##
91## mod_webdav
92##
93#include conf_dir + "/conf.d/webdav.conf"
94
95##
96## mod_userdir
97##
98#include conf_dir + "/conf.d/userdir.conf"
99
100##
101## mod_rrdtool
102##
103#include conf_dir + "/conf.d/rrdtool.conf"
104
105##
106#######################################################################
107
108#######################################################################
109##
110## CGI/proxy modules
111##
112
113##
114## mod_proxy
115##
116#include conf_dir + "/conf.d/proxy.conf"
117
118##
119## SCGI (mod_scgi)
120##
121#include conf_dir + "/conf.d/scgi.conf"
122
123##
124## FastCGI (mod_fastcgi)
125##
126#include conf_dir + "/conf.d/fastcgi.conf"
127
128##
129## plain old CGI (mod_cgi)
130##
131#include conf_dir + "/conf.d/cgi.conf"
132
133##
134#######################################################################
135
136#######################################################################
137##
138## VHost Modules
139##
140##  Only load ONE of them!
141## ========================
142##
143
144##
145## You can use conditionals for vhosts aswell.
146##
147## see https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration
148##
149
150##
151## mod_evhost
152##
153#include conf_dir + "/conf.d/evhost.conf"
154
155##
156## mod_simple_vhost
157##
158#include conf_dir + "/conf.d/simple_vhost.conf"
159
160##
161#######################################################################
162