ERLEDIGT
NEIN
NEIN
ANTWORTEN
0
0
ZUGRIFFE
1323
1323
EMPFEHLEN
-
Hallo,
ich versuche gerade PHP5 mit dem Lighty unter Ubuntu einzurichten.
Das klappt alles soweit auch ganz gut, nur begreife ich nicht, wie ich Virtual Hosts für meine Projekte anlegen kann. Das habe ich bisher in meiner lighttpd.conf stehen:
Wenn ich nun im Browser "localhost" aufrufe, wird mir der Inhalt( echo phpinfo(); ) der index.php angezeigt, wenn ich nun aber "test" aufrufe, kommt die Meldung:Code :1 2 3 4 5 6 7 8 9 10 11 12 13
$HTTP["host"] == "localhost" { simple-vhost.server-root = "/var/www/" simple-vhost.default-host = "localhost" simple-vhost.document-root = "./" } $HTTP["host"] == "test" { simple-vhost.server-root = "/var/www/test/" simple-vhost.default-host = "test" simple-vhost.document-root = "./" server.document-root = "/var/www/test/" }
403 - Forbidden
Eigentlich sollte da aber "Hallo Welt!" stehen.
Was mache ich verkehrt?
Gruß,
Arndtinho
Ähnliche Themen
-
lighttpd und Wildacrd/Subdomains
Von MDX im Forum Hosting & WebserverAntworten: 1Letzter Beitrag: 07.10.10, 15:29 -
Streaming mit lighttpd - es will nicht streamen
Von web4free im Forum Linux & UnixAntworten: 6Letzter Beitrag: 23.03.10, 14:27 -
lighttpd - 403 - Forbidden
Von web4free im Forum Linux & UnixAntworten: 2Letzter Beitrag: 21.03.10, 02:47 -
lighttpd & Rewrite Rules
Von aKraus im Forum Hosting & WebserverAntworten: 0Letzter Beitrag: 02.07.09, 09:27 -
mailman und lighttpd
Von Gunah im Forum Linux & UnixAntworten: 0Letzter Beitrag: 18.02.09, 22:09





Zitieren
Login





