Konfigurace

Lighttpd multiweb

Do souboru /etc/lighttpd/lighttpd.conf dopsat:

$HTTP["host"] == "[domena]"
server.document-root = "[cesta_k_webu]"
}

$HTTP["host"] == "www[domena]" {
server.document-root = "[cesta_k_webu]"
}

$HTTP["host"] == "www[druha_domena]" {
server.document-root = "[cesta_k_webu]"
}

$HTTP["host"] == "[druha_domena]" {
server.document-root = "[cesta_k_webu]"
}

Napsat komentář