modules.conf 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. )
  52. ##
  53. #######################################################################
  54. #######################################################################
  55. ##
  56. ## Config for various Modules
  57. ##
  58. ##
  59. ## mod_ssi
  60. ##
  61. #include "conf.d/ssi.conf"
  62. ##
  63. ## mod_status
  64. ##
  65. #include "conf.d/status.conf"
  66. ##
  67. ## mod_webdav
  68. ##
  69. #include "conf.d/webdav.conf"
  70. ##
  71. ## mod_compress
  72. ##
  73. #include "conf.d/compress.conf"
  74. ##
  75. ## mod_userdir
  76. ##
  77. #include "conf.d/userdir.conf"
  78. ##
  79. ## mod_magnet
  80. ##
  81. #include "conf.d/magnet.conf"
  82. ##
  83. ## mod_cml
  84. ##
  85. #include "conf.d/cml.conf"
  86. ##
  87. ## mod_rrdtool
  88. ##
  89. #include "conf.d/rrdtool.conf"
  90. ##
  91. ## mod_proxy
  92. ##
  93. #include "conf.d/proxy.conf"
  94. ##
  95. ## mod_expire
  96. ##
  97. #include "conf.d/expire.conf"
  98. ##
  99. ## mod_secdownload
  100. ##
  101. #include "conf.d/secdownload.conf"
  102. ##
  103. #######################################################################
  104. #######################################################################
  105. ##
  106. ## CGI modules
  107. ##
  108. ##
  109. ## SCGI (mod_scgi)
  110. ##
  111. #include "conf.d/scgi.conf"
  112. ##
  113. ## FastCGI (mod_fastcgi)
  114. ##
  115. include "conf.d/fastcgi.conf"
  116. ##
  117. ## plain old CGI (mod_cgi)
  118. ##
  119. #include "conf.d/cgi.conf"
  120. ##
  121. #######################################################################
  122. #######################################################################
  123. ##
  124. ## VHost Modules
  125. ##
  126. ## Only load ONE of them!
  127. ## ========================
  128. ##
  129. ##
  130. ## You can use conditionals for vhosts aswell.
  131. ##
  132. ## see http://www.lighttpd.net/documentation/configuration.html
  133. ##
  134. ##
  135. ## mod_evhost
  136. ##
  137. #include "conf.d/evhost.conf"
  138. ##
  139. ## mod_simple_vhost
  140. ##
  141. #include "conf.d/simple_vhost.conf"
  142. ##
  143. ## mod_mysql_vhost
  144. ##
  145. #include "conf.d/mysql_vhost.conf"
  146. ##
  147. #######################################################################