Add cleaned up lighttpd.conf
This commit is contained in:
parent
d5db8cfb7a
commit
9e18fad61e
26
lighttpd.conf
Normal file
26
lighttpd.conf
Normal file
@ -0,0 +1,26 @@
|
||||
var.basedir = "/var/www/konata"
|
||||
var.logdir = "/var/log/lighttpd"
|
||||
var.statedir = "/var/lib/lighttpd"
|
||||
|
||||
server.modules = (
|
||||
"mod_access",
|
||||
"mod_accesslog"
|
||||
)
|
||||
|
||||
include "mime-types.conf"
|
||||
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" )
|
Loading…
x
Reference in New Issue
Block a user