You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joost de Heer <sa...@xs4all.nl> on 2005/08/31 16:56:46 UTC

[users@httpd] Re: virtual host in apache2

Bernard chan said:
> 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>

This should be <VirtualHost *:80> (_default_ is a syntax you should try to
avoid because it's not supported everywhere, e.g. under Solaris it
crashe(s|d) Apache)

Joost


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org