All pastes #101341 Raw Edit

Anonymous

public text v1 · immutable
#101341 ·published 2006-07-26 20:14 UTC
rendered paste body
$SERVER["socket"] == ":80" {
        server.name     = "neverland.bsdwebsolutions.com"
        server.document-root    = "/usr/local/www/data/"
}

$SERVER["socket"] == ":443" {
        ssl.engine      = "enable"
        ssl.pemfile     = "lighttpd.pem"
        server.document-root    = "/usr/local/www/squirrelmail/"
        #server.name    = "mail.vondude.com"
}

## virtual directory listings if no index file in dir
# this is not virtual servers
server.dir-listing = "enable"

#$HTTP["host"] == "64.72.69.7" {
#       server.document-root = "/usr/local/www/com/pages"
#}

# ~COM~ #

$HTTP["host"] == "mail.vondude.com" {
     url.redirect = ( "/" => "https://mail.vondude.com:443" )
}

$HTTP["host"] == "tina.vondude.com" {
        server.document-root = "/home/tina/web"
}

$HTTP["host"] == "tim.vondude.com" {
        server.document-root = "/home/tim/public_html"
}

# ~NET~ #

$HTTP["host"] =~ "^(www\.|ftp\.|)?vondude\.net" {
        server.document-root = "/usr/local/www/net/data/"
}