2 var.logdir = "/var/log/lighttpd"
3 var.statedir = "/var/lib/lighttpd"
13 include "mime-types.conf"
14 include "mod_fastcgi_fpm.conf"
16 #server.username = "lighttpd"
17 #server.groupname = "lighttpd"
19 server.pid-file = "/run/lighttpd.pid"
20 server.errorlog = var.logdir + "/error.log"
21 server.indexfiles = ("index.php", "index.html", "index.htm")
22 server.follow-symlink = "enable"
23 server.document-root = var.basedir
25 dir-listing.show-header = "disable"
26 dir-listing.hide-header-file = "enable"
27 dir-listing.activate = "disable"
29 static-file.exclude-extensions = (".php")
31 accesslog.filename = var.logdir + "/access.log"
32 url.access-deny = ("~", ".inc")
33 $HTTP["url"] =~ "^/var-*" {
34 url.access-deny = ("")