konata/lighttpd.conf

27 lines
615 B
Plaintext

var.basedir = "/var/www/konata"
var.logdir = "/var/log/lighttpd"
var.statedir = "/var/lib/lighttpd"
server.modules = (
"mod_access",
"mod_accesslog"
)
include "mod_cgi.conf"
server.username = "lighttpd"
server.groupname = "lighttpd"
server.pid-file = "/run/lighttpd.pid"
server.indexfiles = ("index.php", "index.html",
"index.htm", "default.htm")
server.follow-symlink = "enable"
server.document-root = var.basedir
errorlog.filename = var.logdir + "/error.log"
accesslog.filename = var.logdir + "/access.log"
cgi.assign = ( ".sh" => "/bin/bash" )
mimetype.assign = ( ".sh" => "text/plain" )