if u compiled apache2 with virtualhost suport then it's ok to do smth like:
<Directory /var/www/cartous >
Options .....
</Directory>
Bernard chan wrote:
> 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>
> ServerName roadtoy.com
> DocumentRoot /var/www/roadtoy
> </VirtualHost>
>
> <VirtualHost _default_ *:80>
> ServerName cartous.com
> DocumentRoot /var/www/cartous
> </VirtualHost>
>
> 2) When I go to roadtoy.com & cartous.com, they all go to
> /var/www/roadtoy/index.html
>
> 3) Who to display /var/www/cartous/index.html, when I go to cartous.com
>
> 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?
>
> Thanx,
>
> ---------------------------------------------------------------------
> 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]
>
signature.asc
Description: OpenPGP digital signature
