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

server.modules = (
#  "mod_rewrite",
  "mod_access",
#  "mod_evasive",
#  "mod_auth",
#  "mod_authn_file",
#  "mod_redirect",
#  "mod_setenv",
#  "mod_alias",
)

##
#######################################################################

#######################################################################
##
##  Config for various Modules
##

##
## mod_expire
##
#include conf_dir + "/conf.d/expire.conf"

##
## mod_deflate
##
#include conf_dir + "/conf.d/deflate.conf"

##
## mod_magnet
##
#include conf_dir + "/conf.d/magnet.conf"

##
## mod_ssi
##
#include conf_dir + "/conf.d/ssi.conf"

##
## mod_status
##
#include conf_dir + "/conf.d/status.conf"

##
## mod_webdav
##
#include conf_dir + "/conf.d/webdav.conf"

##
## mod_userdir
##
#include conf_dir + "/conf.d/userdir.conf"

##
## mod_rrdtool
##
#include conf_dir + "/conf.d/rrdtool.conf"

##
## mod_secdownload
##
#include conf_dir + "/conf.d/secdownload.conf"

##
#######################################################################

#######################################################################
##
## CGI/proxy modules
##

##
## mod_proxy
##
#include conf_dir + "/conf.d/proxy.conf"

##
## SCGI (mod_scgi)
##
#include conf_dir + "/conf.d/scgi.conf"

##
## FastCGI (mod_fastcgi)
##
#include conf_dir + "/conf.d/fastcgi.conf"

##
## plain old CGI (mod_cgi)
##
#include conf_dir + "/conf.d/cgi.conf"

##
#######################################################################

#######################################################################
##
## VHost Modules
##
##  Only load ONE of them!
## ========================
##

##
## You can use conditionals for vhosts aswell.
## 
## see https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration
##

##
## mod_evhost
##
#include conf_dir + "/conf.d/evhost.conf"

##
## mod_simple_vhost
##
#include conf_dir + "/conf.d/simple_vhost.conf"

##
#######################################################################