lighttpd-generic.conf 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. server.event-handler = "select"
  2. #server.event-handler = "linux-sysepoll"
  3. server.max-keep-alive-requests = 0
  4. index-file.names = ( "index.html", "index.php" )
  5. mimetype.assign = (
  6. ".pdf" => "application/pdf",
  7. ".sig" => "application/pgp-signature",
  8. ".spl" => "application/futuresplash",
  9. ".class" => "application/octet-stream",
  10. ".ps" => "application/postscript",
  11. ".torrent" => "application/x-bittorrent",
  12. ".dvi" => "application/x-dvi",
  13. ".gz" => "application/x-gzip",
  14. ".pac" => "application/x-ns-proxy-autoconfig",
  15. ".swf" => "application/x-shockwave-flash",
  16. ".tar.gz" => "application/x-tgz",
  17. ".tgz" => "application/x-tgz",
  18. ".tar" => "application/x-tar",
  19. ".zip" => "application/zip",
  20. ".mp3" => "audio/mpeg",
  21. ".m3u" => "audio/x-mpegurl",
  22. ".wma" => "audio/x-ms-wma",
  23. ".wax" => "audio/x-ms-wax",
  24. ".ogg" => "application/ogg",
  25. ".wav" => "audio/x-wav",
  26. ".gif" => "image/gif",
  27. ".jpg" => "image/jpeg",
  28. ".jpeg" => "image/jpeg",
  29. ".png" => "image/png",
  30. ".xbm" => "image/x-xbitmap",
  31. ".xpm" => "image/x-xpixmap",
  32. ".xwd" => "image/x-xwindowdump",
  33. ".css" => "text/css",
  34. ".html" => "text/html",
  35. ".htm" => "text/html",
  36. ".php" => "text/html",
  37. ".js" => "text/javascript",
  38. ".asc" => "text/plain",
  39. ".c" => "text/plain",
  40. ".cpp" => "text/plain",
  41. ".log" => "text/plain",
  42. ".conf" => "text/plain",
  43. ".text" => "text/plain",
  44. ".txt" => "text/plain",
  45. ".spec" => "text/plain",
  46. ".dtd" => "text/xml",
  47. ".xml" => "text/xml",
  48. ".mpeg" => "video/mpeg",
  49. ".mpg" => "video/mpeg",
  50. ".mov" => "video/quicktime",
  51. ".qt" => "video/quicktime",
  52. ".avi" => "video/x-msvideo",
  53. ".asf" => "video/x-ms-asf",
  54. ".asx" => "video/x-ms-asf",
  55. ".wmv" => "video/x-ms-wmv",
  56. ".bz2" => "application/x-bzip",
  57. ".tbz" => "application/x-bzip-compressed-tar",
  58. ".tar.bz2" => "application/x-bzip-compressed-tar",
  59. # make the default mime type application/octet-stream.
  60. "" => "application/octet-stream",
  61. )