httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernard chan <>
Subject [users@httpd] virtual host in apache2
Date Wed, 31 Aug 2005 09:13:29 GMT
my machine is debian sarge 3.1 kernel 2.4.27-2-386

1) I edited /etc/apache2/sites-available/default as below:-

NameVirtualHost *:80
<VirtualHost _default_ *:80>
DocumentRoot /var/www/roadtoy

<VirtualHost _default_ *:80>
DocumentRoot /var/www/cartous

2) When I go to &, they all go to

3) Who to display /var/www/cartous/index.html, when I go to

4) I saw some email reply from your site, it shows
<VirtualHost _default_*:80>
   why we need to put "_" at the both ends of default?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message