Dovecot taken from http://forum.froxlor.org/index.php?/topic/1336-dovecot-2-freebsd-configuration/ needs still testing
58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
###############################################################################
|
|
# Default lighttpd.conf for Froxlor.
|
|
###############################################################################
|
|
var.basedir = "/var/www"
|
|
var.logdir = "/var/log/lighttpd"
|
|
var.statedir = "/var/lib/lighttpd"
|
|
|
|
server.modules = (
|
|
"mod_rewrite",
|
|
"mod_redirect",
|
|
"mod_alias",
|
|
"mod_access",
|
|
"mod_auth",
|
|
"mod_fastcgi",
|
|
"mod_cgi",
|
|
"mod_accesslog"
|
|
)
|
|
|
|
server.username = "www-data"
|
|
server.groupname = "www-data"
|
|
server.document-root = var.basedir
|
|
server.pid-file = "/var/run/lighttpd.pid"
|
|
accesslog.filename = var.logdir + "/access.log"
|
|
server.errorlog = var.logdir + "/error.log"
|
|
|
|
server.indexfiles = ("index.php", "index.html",
|
|
"index.htm", "default.htm")
|
|
|
|
server.name = "<SERVERNAME>"
|
|
server.port = 80
|
|
server.bind = "<SERVERIP>"
|
|
url.access-deny = ("~", ".inc")
|
|
|
|
fastcgi.server = (
|
|
".php" => (
|
|
"localhost" => (
|
|
"socket" => "/tmp/lighttpd-fcgi-sock-lighttpd",
|
|
"broken-scriptfilename" => "enable",
|
|
"bin-path" => "/usr/bin/php5-cgi",
|
|
"min-procs" => 1,
|
|
"max-procs" => 1,
|
|
"max-load-per-proc" => 4,
|
|
"idle-timeout" => 60,
|
|
"bin-environment" => (
|
|
"UID" => "www-data",
|
|
"GID" => "www-data",
|
|
"PHP_FCGI_CHILDREN" => "0",
|
|
"PHP_FCGI_MAX_REQUESTS" => "10000"
|
|
),
|
|
"bin-copy-environment" => ( "" )
|
|
)
|
|
)
|
|
)
|
|
|
|
#### external configuration files
|
|
## mimetype mapping
|
|
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
|