lighttpd mod_simple_vhost 虚拟机设置
启用mod_simple_vhost 模块
下面是几个虚拟机的设置,小记备查
$HTTP["host"] =~ "^(www.)?qingcha.com" {
server.document-root = basedir + "/"
}
$HTTP["host"] =~ "^(hosta\.qingcha\.org|hosta\.qingcha\.net)$" {
server.document-root = basedir + "/"
}
$HTTP["host"] =~ "^(www\.|blog\.)?qingcha.org|^(www\.|blog\.)?yanglei.org"{
server.document-root = basedir + "/"
}
