Gentoo Archives: gentoo-server

From: Craig Webster <craig@××××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Apache vhosts IP/name-based with SSL
Date: Thu, 16 Feb 2006 16:22:26
Message-Id: 709D27A9-327A-471E-8CFD-2E45ADAC2F5C@xeriom.net
In Reply to: [gentoo-server] Apache vhosts IP/name-based with SSL by Maik Musall
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 16 Feb 2006, at 15:39, Maik Musall wrote:
5 > Using *:80 and *:443 at all NameVirtualHost and VirtualHost places, or
6 > using *:80 and *:443 with NameVirtualHost and concrete IP addresses
7 > with
8 > VirtualHost directives, I get:
9 >
10 > # /usr/sbin/apache2 -S
11 > [Thu Feb 16 16:36:16 2006] [warn] NameVirtualHost *:80 has no
12 > VirtualHosts
13 > VirtualHost configuration:
14 > Syntax OK
15 >
16 > Although syntax is reported to be "OK" I'm still worried by the
17 > warnings
18 > that my setup is flawed. Can anybody give me a hint?
19
20 Do you have a VirtualHost for *:80 ie
21 <VirtualHost *:80>
22 ServerName localhost.localdomain
23 </VirtualHost>
24
25 You should get a default virtual host by adding -D DEFAULT_VHOST to /
26 etc/conf.d/apache2.
27
28 Yours,
29 Craig
30 - --
31 Craig Webster | t: +44 (0)131 516 8595 | e: craig@××××××.net
32 Xeriom.NET | f: +44 (0)131 661 0689 | w: http://xeriom.net
33
34
35 -----BEGIN PGP SIGNATURE-----
36 Version: GnuPG v1.4.1 (Darwin)
37
38 iD8DBQFD9KWlxeTEFYpVBSURAlD6AJ9kCxqnXWfSuJBbIjg//AKASHkkuQCff7qU
39 +DiiFoYPwSyU/wjcYzpT598=
40 =o8xW
41 -----END PGP SIGNATURE-----
42 --
43 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] Apache vhosts IP/name-based with SSL Maik Musall <lists@××××××.de>