26
|
1 #######################################################################
|
|
2 ##
|
|
3 ## Modules to load
|
|
4 ## -----------------
|
|
5 ##
|
|
6 ## at least mod_access and mod_accesslog should be loaded
|
|
7 ## all other module should only be loaded if really neccesary
|
|
8 ##
|
|
9 ## - saves some time
|
|
10 ## - saves memory
|
|
11 ##
|
|
12 ## the default module set contains:
|
|
13 ##
|
|
14 ## "mod_indexfile", "mod_dirlisting", "mod_staticfile"
|
|
15 ##
|
|
16 ## you dont have to include those modules in your list
|
|
17 ##
|
|
18 ## Modules, which are pulled in via conf.d/*.conf
|
|
19 ##
|
|
20 ## NOTE: the order of modules is important.
|
|
21 ##
|
|
22 ## - mod_accesslog -> conf.d/access_log.conf
|
|
23 ## - mod_compress -> conf.d/compress.conf
|
|
24 ## - mod_status -> conf.d/status.conf
|
|
25 ## - mod_webdav -> conf.d/webdav.conf
|
|
26 ## - mod_cml -> conf.d/cml.conf
|
|
27 ## - mod_evhost -> conf.d/evhost.conf
|
|
28 ## - mod_simple_vhost -> conf.d/simple_vhost.conf
|
|
29 ## - mod_mysql_vhost -> conf.d/mysql_vhost.conf
|
|
30 ## - mod_trigger_b4_dl -> conf.d/trigger_b4_dl.conf
|
|
31 ## - mod_userdir -> conf.d/userdir.conf
|
|
32 ## - mod_rrdtool -> conf.d/rrdtool.conf
|
|
33 ## - mod_ssi -> conf.d/ssi.conf
|
|
34 ## - mod_cgi -> conf.d/cgi.conf
|
|
35 ## - mod_scgi -> conf.d/scgi.conf
|
|
36 ## - mod_fastcgi -> conf.d/fastcgi.conf
|
|
37 ## - mod_proxy -> conf.d/proxy.conf
|
|
38 ## - mod_secdownload -> conf.d/secdownload.conf
|
|
39 ## - mod_expire -> conf.d/expire.conf
|
|
40 ##
|
|
41
|
|
42 server.modules = (
|
|
43 "mod_access",
|
|
44 "mod_accesslog",
|
|
45 "mod_cgi",
|
|
46 # "mod_alias",
|
|
47 # "mod_auth",
|
|
48 # "mod_evasive",
|
36
|
49 "mod_redirect",
|
26
|
50 # "mod_rewrite",
|
30
|
51 "mod_setenv",
|
26
|
52 # "mod_usertrack",
|
|
53 )
|
|
54
|
|
55 ##
|
|
56 #######################################################################
|
|
57
|
|
58 #######################################################################
|
|
59 ##
|
|
60 ## Config for various Modules
|
|
61 ##
|
|
62
|
|
63 ##
|
|
64 ## mod_ssi
|
|
65 ##
|
|
66 #include "conf.d/ssi.conf"
|
|
67
|
|
68 ##
|
|
69 ## mod_status
|
|
70 ##
|
|
71 #include "conf.d/status.conf"
|
|
72
|
|
73 ##
|
|
74 ## mod_webdav
|
|
75 ##
|
|
76 #include "conf.d/webdav.conf"
|
|
77
|
|
78 ##
|
|
79 ## mod_compress
|
|
80 ##
|
|
81 #include "conf.d/compress.conf"
|
|
82
|
|
83 ##
|
|
84 ## mod_userdir
|
|
85 ##
|
|
86 #include "conf.d/userdir.conf"
|
|
87
|
|
88 ##
|
|
89 ## mod_magnet
|
|
90 ##
|
|
91 #include "conf.d/magnet.conf"
|
|
92
|
|
93 ##
|
|
94 ## mod_cml
|
|
95 ##
|
|
96 #include "conf.d/cml.conf"
|
|
97
|
|
98 ##
|
|
99 ## mod_rrdtool
|
|
100 ##
|
|
101 #include "conf.d/rrdtool.conf"
|
|
102
|
|
103 ##
|
|
104 ## mod_proxy
|
|
105 ##
|
|
106 #include "conf.d/proxy.conf"
|
|
107
|
|
108 ##
|
|
109 ## mod_expire
|
|
110 ##
|
|
111 #include "conf.d/expire.conf"
|
|
112
|
|
113 ##
|
|
114 ## mod_secdownload
|
|
115 ##
|
|
116 #include "conf.d/secdownload.conf"
|
|
117
|
|
118 ##
|
|
119 #######################################################################
|
|
120
|
|
121 #######################################################################
|
|
122 ##
|
|
123 ## CGI modules
|
|
124 ##
|
|
125
|
|
126 ##
|
|
127 ## SCGI (mod_scgi)
|
|
128 ##
|
|
129 #include "conf.d/scgi.conf"
|
|
130
|
|
131 ##
|
|
132 ## FastCGI (mod_fastcgi)
|
|
133 ##
|
|
134 #include "conf.d/fastcgi.conf"
|
|
135
|
|
136 ##
|
|
137 ## plain old CGI (mod_cgi)
|
|
138 ##
|
|
139 include "conf.d/cgi.conf"
|
|
140
|
|
141 ##
|
|
142 #######################################################################
|
|
143
|
|
144 #######################################################################
|
|
145 ##
|
|
146 ## VHost Modules
|
|
147 ##
|
|
148 ## Only load ONE of them!
|
|
149 ## ========================
|
|
150 ##
|
|
151
|
|
152 ##
|
|
153 ## You can use conditionals for vhosts aswell.
|
|
154 ##
|
|
155 ## see http://www.lighttpd.net/documentation/configuration.html
|
|
156 ##
|
|
157
|
|
158 ##
|
|
159 ## mod_evhost
|
|
160 ##
|
|
161 #include "conf.d/evhost.conf"
|
|
162
|
|
163 ##
|
|
164 ## mod_simple_vhost
|
|
165 ##
|
|
166 #include "conf.d/simple_vhost.conf"
|
|
167
|
|
168 ##
|
|
169 ## mod_mysql_vhost
|
|
170 ##
|
|
171 #include "conf.d/mysql_vhost.conf"
|
|
172
|
|
173 ##
|
|
174 #######################################################################
|