Advertisement
Guest User

nettemp.pl

a guest
Aug 13th, 2013
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. cat /etc/lighttpd/lighttpd.conf
  2. server.modules = (
  3. "mod_access",
  4. "mod_alias",
  5. "mod_compress",
  6. "mod_redirect",
  7. "mod_rewrite",
  8. )
  9.  
  10. server.document-root = "/var/www/nettemp"
  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.  
  18.  
  19. index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
  20. url.access-deny = ( "~", ".inc" )
  21. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  22.  
  23. compress.cache-dir = "/var/cache/lighttpd/compress/"
  24. compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
  25.  
  26. # default listening port for IPv6 falls back to the IPv4 port
  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"
  30. url.rewrite-once = ( "^/([A-Za-z0-9-_-]+)$" => "/index.php?id=$1" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement