Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 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 = "/var/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.  
  17. index-file.names = ( "index.php", "index.html",
  18. "index.htm", "default.htm",
  19. " index.lighttpd.html" )
  20.  
  21. url.access-deny = ( "~", ".inc" )
  22.  
  23. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  24.  
  25. include_shell "/usr/share/lighttpd/use-ipv6.pl"
  26.  
  27. dir-listing.encoding = "utf-8"
  28. server.dir-listing = "enable"
  29.  
  30. compress.cache-dir = "/var/cache/lighttpd/compress/"
  31. compress.filetype = ( "application/x-javascript", "text/css", "text/html", "text/plain" )
  32.  
  33. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  34. include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
  35.  
  36. fastcgi.server = ( ".php" => ((
  37. "bin-path" => "/usr/bin/php-cgi",
  38. "socket" => "/tmp/php.socket"
  39. )))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement