Advertisement
Guest User

Untitled

a guest
Apr 15th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. server.modules = (
  2. "mod_access",
  3. "mod_alias",
  4. "mod_compress",
  5. "mod_redirect",
  6. # "mod_rewrite",
  7. )
  8.  
  9. server.document-root = "/var/www"
  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. server.port = 1026
  16.  
  17.  
  18. index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
  19. url.access-deny = ( "~", ".inc" )
  20. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  21.  
  22. compress.cache-dir = "/var/cache/lighttpd/compress/"
  23. compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
  24.  
  25. # default listening port for IPv6 falls back to the IPv4 port
  26. ## Use ipv6 if available
  27. #include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
  28. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  29. include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement