Vhost konfiguration für mysite.com ist auf /var/www/mysite.com/ eingerichtet. soweit funktioniert einwandfrei mit mysite.com. Das problem http://localhost Adresse geht oder nimmt gleiche document-root directory wie mysite.com . da ist mein mysite.com.conf
Code: Select all
$HTTP["host"] != "mysite.com" {
simple-vhost.server-root = "/var/www/mysite.com/"
simple-vhost.default-host = "html"
simple-vhost.document-root = "/"
}
$HTTP["host"] == "mysite.com" {
server.document-root = "/var/www/mysite.com/html/"
}
Code: Select all
include "/etc/lighttpd/mysite.com.conf"
Danke im Voraus