Advertisement
Guest User

/etc/lighttpd/lighttpd.conf

a guest
Jul 19th, 2012
705
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. server.modules = (
  2. "mod_fastcgi",
  3. "mod_access",
  4. "mod_alias",
  5. "mod_compress",
  6. "mod_redirect",
  7. # "mod_rewrite",
  8. )
  9.  
  10. server.document-root = "/mnt/www"
  11. server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
  12. server.errorlog = "/var/log/lighttpd/error.log"
  13. server.pid-file = "/var/run/lighttpd.pid"
  14. server.username = "www-data"
  15. server.groupname = "www-data"
  16. server.port = 80
  17. server.follow-symlink = "enable"
  18. server.dir-listing = "enable"
  19. dir-listing.encoding = "utf-8"
  20.  
  21. index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
  22. url.access-deny = ( "~", ".inc" )
  23. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  24.  
  25. compress.cache-dir = "/var/cache/lighttpd/compress/"
  26. compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
  27.  
  28. # default listening port for IPv6 falls back to the IPv4 port
  29. include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
  30. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  31. include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement