Project

General

Profile

Feature #1014 » modules.conf

Modified modules.conf - Hammel, 24 Sep 2023 17:11

 
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

    
47
server.modules = (
48
#  "mod_rewrite",
49
  "mod_access",
50
  "mod_auth",
51
  "mod_fastcgi",
52
#  "mod_authn_file",
53
#  "mod_redirect",
54
#  "mod_setenv",
55
#  "mod_alias",
56
)
57

    
58
##
59
#######################################################################
60

    
61
#######################################################################
62
##
63
##  Config for various Modules
64
##
65

    
66
##
67
## mod_expire
68
##
69
#include conf_dir + "/conf.d/expire.conf"
70

    
71
##
72
## mod_deflate
73
##
74
#include conf_dir + "/conf.d/deflate.conf"
75

    
76
##
77
## mod_magnet
78
##
79
#include conf_dir + "/conf.d/magnet.conf"
80

    
81
##
82
## mod_ssi
83
##
84
#include conf_dir + "/conf.d/ssi.conf"
85

    
86
##
87
## mod_status
88
##
89
#include conf_dir + "/conf.d/status.conf"
90

    
91
##
92
## mod_webdav
93
##
94
#include conf_dir + "/conf.d/webdav.conf"
95

    
96
##
97
## mod_userdir
98
##
99
#include conf_dir + "/conf.d/userdir.conf"
100

    
101
##
102
## mod_rrdtool
103
##
104
#include conf_dir + "/conf.d/rrdtool.conf"
105

    
106
##
107
#######################################################################
108

    
109
#######################################################################
110
##
111
## CGI/proxy modules
112
##
113

    
114
##
115
## mod_proxy
116
##
117
#include conf_dir + "/conf.d/proxy.conf"
118

    
119
##
120
## SCGI (mod_scgi)
121
##
122
#include conf_dir + "/conf.d/scgi.conf"
123

    
124
##
125
## FastCGI (mod_fastcgi)
126
##
127
#include conf_dir + "/conf.d/fastcgi.conf"
128

    
129
##
130
## plain old CGI (mod_cgi)
131
##
132
include conf_dir + "/conf.d/cgi.conf"
133

    
134
##
135
#######################################################################
136

    
137
#######################################################################
138
##
139
## VHost Modules
140
##
141
##  Only load ONE of them!
142
## ========================
143
##
144

    
145
##
146
## You can use conditionals for vhosts aswell.
147
## 
148
## see https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration
149
##
150

    
151
##
152
## mod_evhost
153
##
154
#include conf_dir + "/conf.d/evhost.conf"
155

    
156
##
157
## mod_simple_vhost
158
##
159
#include conf_dir + "/conf.d/simple_vhost.conf"
160

    
161
##
162
#######################################################################
(2-2/3)