Gentoo Archives: gentoo-user

From: Mike Williams <mike@××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Fwd: apache vhost issue...
Date: Sun, 09 Mar 2008 18:59:22
Message-Id: 200803091859.17483.mike@gaima.co.uk
In Reply to: [gentoo-user] Fwd: apache vhost issue... by Elyahou ITTAH
1 On Sunday 09 March 2008 11:52:16 Elyahou ITTAH wrote:
2 >  in /etc/conf.d/apache2:
3 >  APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE  -D PHP5 -D
4 > USERDIR"
5
6 >  # cat /etc/apache2/vhosts.d/01_vhost1.conf
7 >  <VirtualHost *:80>
8
9 >  But when I type helpermaster.fr on my browser, i receive the
10 >  www/localhost pages and no the www/helpermaster.fr pages...
11
12 Your vhost isn't specific enough to not be matched by the vhost defined by
13 DEFAULT_VHOST (which is _default_:80).
14
15 Either turn off DEFAULT_VHOST and add "Listen *:80" somewhere before your
16 virtualhost, or define it with an IP address.
17
18 --
19 Mike Williams
20 --
21 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Fwd: apache vhost issue... Elyahou ITTAH <ittah.elyahou@×××××.com>