All pastes #256960 Raw Edit

Miscellany

public text v1 · immutable
#256960 ·published 2006-11-24 21:08 UTC
rendered paste body
var.basedir  = "/usr/local/www/data/"
var.logdir   = "/var/log/lighttpd"
var.statedir = "/usr/local/lib/lighttpd"

server.modules = (
        "mod_access",
        "mod_accesslog",
        "mod_status",
        "mod_fastcgi",
        "mod_rrdtool",
        "mod_cgi",
        "mod_evhost",
        "mod_auth"
)

server.username      = "www"
server.groupname     = "www"

server.document-root = var.basedir + "fr.mozor.net"
server.pid-file      = "/var/run/lighttpd.pid"

server.indexfiles    = ("index.php", "index.html", "index.htm", "index.fk")

server.tag           = "lighttpd"
server.event-handler = "freebsd-kqueue"
server.bind             = "88.191.36.51"
status.status-url          = "/s-status"
status.config-url          = "/s-config"

static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi", ".fk")

accesslog.filename   = var.logdir + "/access.log"
server.errorlog             = var.logdir + "/error.log"

dir-listing.activate      = "enable"
dir-listing.hide-dotfiles = "enable"

url.access-deny = ("~", ".inc")

fastcgi.map-extensions = ( ".fk" => ".php" )
fastcgi.server = (
        ".php" =>
                ( "localhost" =>
                        (       "socket" =>     "/tmp/php.sock",
                                "bin-path"      => "/usr/local/bin/php-cgi",
                                "min-procs"     => 1,
                                "max-procs"     => 3
                        )
                )
        )


rrdtool.binary = "/usr/local/bin/rrdtool"
rrdtool.db-name = "/var/log/lighttpd/lighttpd.rrd"

include "lighttpd/vhosts.conf"
include "lighttpd/mime.conf"

cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
                              ".cgi" => "/usr/bin/perl" )