logo

widrop

[mirror] WiDrop distribution, now defunct git clone https://hacktivis.me/git/mirror/widrop.git

lighttpd.conf (1585B)


  1. server.modules = (
  2. # "mod_access",
  3. # "mod_alias",
  4. # "mod_compress",
  5. # "mod_redirect",
  6. # "mod_rewrite",
  7. "mod_cgi"
  8. )
  9. server.document-root = "/srv/"
  10. server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
  11. server.errorlog = "/var/log/lighttpd/error.log"
  12. server.pid-file = "/var/run/lighttpd.pid"
  13. server.username = "www-data"
  14. server.groupname = "www-data"
  15. index-file.names = ( "index.php", "index.html",
  16. "index.htm", "default.htm",
  17. " index.lighttpd.html" )
  18. #url.access-deny = ( "~", ".inc" )
  19. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  20. include_shell "/usr/share/lighttpd/use-ipv6.pl"
  21. dir-listing.encoding = "utf-8"
  22. server.dir-listing = "enable"
  23. #compress.cache-dir = "/var/cache/lighttpd/compress/"
  24. #compress.filetype = ( "application/x-javascript", "text/css", "text/html", "text/plain" )
  25. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  26. include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
  27. server.error-handler-404 = "/"
  28. dir-listing.show-readme="enable"
  29. dir-listing.show-header="enable"
  30. dir-listing.hide-readme-file="enable"
  31. dir-listing.hide-header-file="enable"
  32. server.max-keep-alive-requests = 0
  33. server.max-keep-alive-idle = 0
  34. server.max-read-idle = 0
  35. server.max-write-idle = 0
  36. server.max-worker = 0
  37. server.max-fds = 50
  38. server.max-connections = 5
  39. cgi.assign = (
  40. ".php" => "/usr/bin/php5-cgi",
  41. ".php5" => "/usr/bin/php5-cgi"
  42. )