Browse Source

[doc] highlight relevance of module load order (fixes #2946)

x-ref:
  "modules.conf order unhelpful (setenv vs. redirect)"
  https://redmine.lighttpd.net/issues/2946
personal/stbuehler/ci-build
Glenn Strauss 3 years ago
parent
commit
49e9f0acdc
  1. 14
      doc/config/modules.conf

14
doc/config/modules.conf

@ -17,8 +17,6 @@
##
## Modules, which are pulled in via conf.d/*.conf
##
## NOTE: the order of modules is important.
##
## - mod_accesslog -> conf.d/access_log.conf
## - mod_compress -> conf.d/compress.conf
## - mod_status -> conf.d/status.conf
@ -38,6 +36,14 @@
## - 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, ...)
##
server.modules = (
"mod_access",
@ -45,10 +51,10 @@ server.modules = (
# "mod_auth",
# "mod_authn_file",
# "mod_evasive",
# "mod_redirect",
# "mod_rewrite",
# "mod_setenv",
# "mod_usertrack",
# "mod_redirect",
# "mod_rewrite",
)
##

Loading…
Cancel
Save