modules.conf 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. server.modules = (
  42. "mod_access",
  43. "mod_alias",
  44. "mod_compress",
  45. # "mod_auth",
  46. # "mod_evasive",
  47. "mod_redirect",
  48. # "mod_rewrite",
  49. # "mod_setenv",
  50. # "mod_usertrack",
  51. "mod_openssl",
  52. )
  53. ##
  54. #######################################################################
  55. #######################################################################
  56. ##
  57. ## Config for various Modules
  58. ##
  59. ##
  60. ## mod_ssi
  61. ##
  62. #include "conf.d/ssi.conf"
  63. ##
  64. ## mod_status
  65. ##
  66. #include "conf.d/status.conf"
  67. ##
  68. ## mod_webdav
  69. ##
  70. #include "conf.d/webdav.conf"
  71. ##
  72. ## mod_compress
  73. ##
  74. #include "conf.d/compress.conf"
  75. ##
  76. ## mod_userdir
  77. ##
  78. #include "conf.d/userdir.conf"
  79. ##
  80. ## mod_magnet
  81. ##
  82. #include "conf.d/magnet.conf"
  83. ##
  84. ## mod_cml
  85. ##
  86. #include "conf.d/cml.conf"
  87. ##
  88. ## mod_rrdtool
  89. ##
  90. #include "conf.d/rrdtool.conf"
  91. ##
  92. ## mod_proxy
  93. ##
  94. #include "conf.d/proxy.conf"
  95. ##
  96. ## mod_expire
  97. ##
  98. #include "conf.d/expire.conf"
  99. ##
  100. ## mod_secdownload
  101. ##
  102. #include "conf.d/secdownload.conf"
  103. ##
  104. #######################################################################
  105. #######################################################################
  106. ##
  107. ## CGI modules
  108. ##
  109. ##
  110. ## SCGI (mod_scgi)
  111. ##
  112. #include "conf.d/scgi.conf"
  113. ##
  114. ## FastCGI (mod_fastcgi)
  115. ##
  116. include "conf.d/fastcgi.conf"
  117. ##
  118. ## plain old CGI (mod_cgi)
  119. ##
  120. #include "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 http://www.lighttpd.net/documentation/configuration.html
  134. ##
  135. ##
  136. ## mod_evhost
  137. ##
  138. #include "conf.d/evhost.conf"
  139. ##
  140. ## mod_simple_vhost
  141. ##
  142. #include "conf.d/simple_vhost.conf"
  143. ##
  144. ## mod_mysql_vhost
  145. ##
  146. #include "conf.d/mysql_vhost.conf"
  147. ##
  148. #######################################################################