Opps.. hit the send button early. Actually, what happens when you use the debian and debian1 names? Do they work? Personally, I don't know what the ServerAlias directives do? You probably don't need them. -Dave----- Original Message ----- From: "Mehmet Fatih AKBULUT" <mfatihakbulut@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Thursday, January 05, 2006 5:34 PM Subject: [users@httpd] Virtual Hosts help needed? hi all, i am a newbie on such subjects :) but i want to ask something to you: NameVirtualHost *:80 <VirtualHost *:80> ServerName debian ServerAlias localhost DocumentRoot /var/www/ </VirtualHost> <VirtualHost *:80> ServerName debian1 ServerAlias localhost1 DocumentRoot /var/wwwwww/ </VirtualHost> these are my virtual host definitions and all i want to do is this : i have two folders under /var/ which are /www and /wwwwww and i want apache to show files under /www when 'http://localhost' is typed on browser. and to show files under /wwwwww when 'http://localhost1' is typed on browser. for 'http://localhost' everything is ok. but when i type 'http://localhost1' get the error below : An error occurred while loading http://localhost1/ Unknown host localhost1 ... how i can achieve ? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx