Gentoo Archives: gentoo-user

From: Elyahou ITTAH <ittah.elyahou@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Fwd: apache vhost issue...
Date: Sun, 09 Mar 2008 19:38:02
Message-Id: c74ac3520803091237s2746d59ck8c5ccb66414e0713@mail.gmail.com
In Reply to: RE: [gentoo-user] Fwd: apache vhost issue... by cypherstrong
1 2008/3/9, cypherstrong <cypherstrong@×××××.com>:
2 > ok
3 >
4 > in 00_default you need somethink like this
5 >
6 > <VirtualHost __default__:80>
7 > ServerName localhost
8 > DocumentRoot /var/www/localhost
9 > <Directory /var/www/localhost>
10 > Order Allow, Deny
11 >
12 > Allow from all
13 > </Directory>
14 > </VirtualHost>
15 >
16 >
17 > and in 01_helpermaster
18 >
19 > <VirtualHost *:80>
20 > ServerName helpermaster.fr
21 > ServerAlias *.helpermaster.fr
22 > DocumentRoot /var/www/helpermaster.fr
23 >
24 > <Directory /var/www/helpermaster.fr>
25 >
26 > Order Allow, Deny
27 >
28 > Allow from all
29 > </Directory>
30 > </VirtualHost>
31 >
32 >
33 > It should work !
34 >
35
36 Thanks,
37
38 now i have that error:
39
40 [Sun Mar 09 20:34:01 2008] [error] (EAI 2)Name or service not known:
41 Could not resolve host name __default__ -- ignoring!
42 --
43 gentoo-user@l.g.o mailing list

Replies

Subject Author
RE: [gentoo-user] Fwd: apache vhost issue... cypherstrong <cypherstrong@×××××.com>