Virutal Host error Drapper

Karl-Heinz Schulz karlheinz at
Sat Sep 2 19:49:18 UTC 2006

My  "default" file looks like:

    ServerName www.
    DocumentRoot /var/www/
    ServerAdmin webmaster@
    ErrorLog /var/log/apache2 -error_log
    CustomLog /var/log/apache2/ -access_log common

<VirtualHost www. >
    ServerName www. www.
    DocumentRoot /var/www/kasimir
    ServerAdmin kasimir@ www.
    ErrorLog /var/log/apache2/ www. -error_log
    CustomLog /var/log/apache2/ www. -access_log common

#<VirtualHost webmail. www. -lab>
#DocumentRoot /usr/share/squirrelmail
#ServerName webmail. www.

And I receive the following error:

the first has precedence, perhaps you need a NameVirtualHost directive

What did I miss?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3660 bytes
Desc: not available
URL: <>

More information about the ubuntu-users mailing list