[doc] highlight relevance of module load order (fixes
x-ref:
"modules.conf order unhelpful (setenv vs. redirect)"
##
## 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
## - 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",
)
##
