modules.conf 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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_secdownload -> conf.d/secdownload.conf
  34. ## - mod_expire -> conf.d/expire.conf
  35. ##
  36. ## NOTE: The order of modules in server.modules is important.
  37. ##
  38. ## Modules which gate requests (e.g. mod_access, mod_auth) or modify
  39. ## requests (e.g. mod_alias, mod_setenv) should be listed before
  40. ## modules which complete requests (e.g. mod_redirect, mod_rewrite),
  41. ## and which, in turn, should be listed before dynamic handlers
  42. ## (e.g. mod_cgi, mod_fastcgi, mod_proxy, mod_scgi, ...)
  43. ##
  44. ## DO NOT alphabetize modules.
  45. ## Alphabetizing may break expected functionality. See explanation above.
  46. ##
  47. server.modules = (
  48. # "mod_rewrite",
  49. "mod_access",
  50. # "mod_evasive",
  51. # "mod_auth",
  52. # "mod_authn_file",
  53. # "mod_redirect",
  54. # "mod_setenv",
  55. # "mod_alias",
  56. )
  57. ##
  58. #######################################################################
  59. #######################################################################
  60. ##
  61. ## Config for various Modules
  62. ##
  63. ##
  64. ## mod_expire
  65. ##
  66. #include conf_dir + "/conf.d/expire.conf"
  67. ##
  68. ## mod_deflate
  69. ##
  70. #include conf_dir + "/conf.d/deflate.conf"
  71. ##
  72. ## mod_magnet
  73. ##
  74. #include conf_dir + "/conf.d/magnet.conf"
  75. ##
  76. ## mod_ssi
  77. ##
  78. #include conf_dir + "/conf.d/ssi.conf"
  79. ##
  80. ## mod_status
  81. ##
  82. #include conf_dir + "/conf.d/status.conf"
  83. ##
  84. ## mod_webdav
  85. ##
  86. #include conf_dir + "/conf.d/webdav.conf"
  87. ##
  88. ## mod_userdir
  89. ##
  90. #include conf_dir + "/conf.d/userdir.conf"
  91. ##
  92. ## mod_rrdtool
  93. ##
  94. #include conf_dir + "/conf.d/rrdtool.conf"
  95. ##
  96. ## mod_secdownload
  97. ##
  98. #include conf_dir + "/conf.d/secdownload.conf"
  99. ##
  100. #######################################################################
  101. #######################################################################
  102. ##
  103. ## CGI/proxy modules
  104. ##
  105. ##
  106. ## mod_proxy
  107. ##
  108. #include conf_dir + "/conf.d/proxy.conf"
  109. ##
  110. ## SCGI (mod_scgi)
  111. ##
  112. #include conf_dir + "/conf.d/scgi.conf"
  113. ##
  114. ## FastCGI (mod_fastcgi)
  115. ##
  116. #include conf_dir + "/conf.d/fastcgi.conf"
  117. ##
  118. ## plain old CGI (mod_cgi)
  119. ##
  120. #include conf_dir + "/conf.d/cgi.conf"
  121. ##
  122. #######################################################################
  123. #######################################################################
  124. ##
  125. ## VHost Modules
  126. ##
  127. ## Only load ONE of them!
  128. ## ========================
  129. ##
  130. ##
  131. ## You can use conditionals for vhosts aswell.
  132. ##
  133. ## see https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration
  134. ##
  135. ##
  136. ## mod_evhost
  137. ##
  138. #include conf_dir + "/conf.d/evhost.conf"
  139. ##
  140. ## mod_simple_vhost
  141. ##
  142. #include conf_dir + "/conf.d/simple_vhost.conf"
  143. ##
  144. #######################################################################