You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
804 B
32 lines
804 B
|
|
var.basedir = "/var/www/localhost" |
|
var.logdir = "/var/log/lighttpd" |
|
var.statedir = "/var/lib/lighttpd" |
|
|
|
server.modules = ( |
|
"mod_access", |
|
"mod_accesslog", |
|
"mod_rewrite" |
|
) |
|
|
|
include "mime-types.conf" |
|
include "mod_fastcgi.conf" |
|
|
|
server.username = "lighttpd" |
|
server.groupname = "lighttpd" |
|
server.document-root = var.basedir + "/htdocs" |
|
server.pid-file = "/run/lighttpd.pid" |
|
server.errorlog = var.logdir + "/error.log" |
|
server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm") |
|
server.follow-symlink = "enable" |
|
|
|
static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi") |
|
|
|
accesslog.filename = var.logdir + "/access.log" |
|
|
|
url.access-deny = ("~", ".inc") |
|
|
|
$HTTP["url"] =~ "^/dokuwiki/(data|conf|bin|inc|vendor)/+." { |
|
url.access-deny = ("") |
|
} |
|
|
|
|