Guest User

Untitled

a guest
Apr 25th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. GNU nano 2.2.6 File: /etc/lighttpd/lighttpd.conf Modified
  2.  
  3. server.document-root = "/var/www/html"
  4.  
  5. server.port = 80
  6. server.username = "http"
  7. server.groupname = "http"
  8. server.tag ="lighttpd"
  9.  
  10. server.errorlog = "/var/log/lighttpd/error.log"
  11. accesslog.filename = "/var/log/lighttpd/access.log"
  12. server.document-root = "/mnt/storage/webServer"
  13.  
  14. server.modules = (
  15. "mod_access",
  16. "mod_accesslog",
  17. "mod_fastcgi",
  18. "mod_rewrite",
  19. "mod_auth"
  20. )
  21.  
  22. # mimetype mapping
  23. mimetype.assign = (
  24. ".pdf" => "application/pdf",
  25. ".sig" => "application/pgp-signature",
  26. ".spl" => "application/futuresplash",
  27. ".class" => "application/octet-stream",
  28. ".ps" => "application/postscript",
  29. ".torrent" => "application/x-bittorrent",
  30. ".dvi" => "application/x-dvi",
  31. ".gz" => "application/x-gzip",
  32. ".pac" => "application/x-ns-proxy-autoconfig",
  33. ".swf" => "application/x-shockwave-flash",
  34. ".tar.gz" => "application/x-tgz",
  35. ".tgz" => "application/x-tgz",
  36. ".tar" => "application/x-tar",
  37. ".zip" => "application/zip",
  38. ".mp3" => "audio/mpeg",
  39. ".m3u" => "audio/x-mpegurl",
  40. ".wma" => "audio/x-ms-wma",
  41. ".wax" => "audio/x-ms-wax",
  42. ".ogg" => "audio/x-wav",
  43. ".wav" => "audio/x-wav",
  44. ".gif" => "image/gif",
  45. ".jpg" => "image/jpeg",
  46. ".jpeg" => "image/jpeg",
  47. ".png" => "image/png",
  48. ".xbm" => "image/x-xbitmap",
  49. ".xpm" => "image/x-xpixmap",
  50. ".xwd" => "image/x-xwindowdump",
  51. ".css" => "text/css",
  52. ".html" => "text/html",
  53. ".htm" => "text/html",
  54. ".js" => "text/javascript",
  55. ".asc" => "text/plain",
  56. ".c" => "text/plain",
  57. ".conf" => "text/plain",
  58. ".text" => "text/plain",
  59. ".txt" => "text/plain",
  60. ".dtd" => "text/xml",
  61. [ Read 72 lines ]
  62. ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
  63. ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell
Add Comment
Please, Sign In to add comment