I'm going to guess that you're just making up the name localhost1.
You will actually need a dns entry to your computer. You might want to
talk to your system's administrator.
If you can't "ping" the name, apache wont be able to do anything with it.
----- Original Message -----
From: "Mehmet Fatih AKBULUT" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Thursday, January 05, 2006 5:34 PM
Subject: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]