Re: [users@httpd] virtual host in apache2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bernard chan wrote:
> 1) I edited /etc/apache2/sites-available/default as below:-
> 
> <VirtualHost _default_ *:80>
> <VirtualHost _default_ *:80>

You can have only ONE _default_ VHost. By definition the 'default'
site is the one used when, for some reason, the server can't figure
out which site is requested.

> 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?

Because that's the way to do it.

Davide

-- 
Virus error:
A virus has been activated in a DOS session. The virus, however,
requires Windows. All tasks will automatically be closed and the virus
will be activated again.

---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux