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 + "/"

About this Entry

This page contains a single entry by 清茶 published on March 21, 2008 10:29 AM.

用lighttpd 取代 apache was the previous entry in this blog.

OpenLDAP 启动失败.... is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.1