Gentoo Archives: gentoo-user

From: cypherstrong <cypherstrong@×××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] Fwd: apache vhost issue...
Date: Sun, 09 Mar 2008 19:48:22
Message-Id: 002c01c8821e$85baa2d0$912fe870$@com
In Reply to: Re: [gentoo-user] Fwd: apache vhost issue... by Elyahou ITTAH
1 perhaps I miss the "s"
2
3 __defaults__
4
5 try this or replace by *
6
7
8
9
10
11 -----Message d'origine-----
12 De : Elyahou ITTAH [mailto:ittah.elyahou@×××××.com]
13 Envoyé : dimanche 9 mars 2008 20:38
14 À : gentoo-user@l.g.o
15 Objet : Re: [gentoo-user] Fwd: apache vhost issue...
16
17 2008/3/9, cypherstrong <cypherstrong@×××××.com>:
18 > ok
19 >
20 > in 00_default you need somethink like this
21 >
22 > <VirtualHost __default__:80>
23 > ServerName localhost
24 > DocumentRoot /var/www/localhost
25 > <Directory /var/www/localhost>
26 > Order Allow, Deny
27 >
28 > Allow from all
29 > </Directory>
30 > </VirtualHost>
31 >
32 >
33 > and in 01_helpermaster
34 >
35 > <VirtualHost *:80>
36 > ServerName helpermaster.fr
37 > ServerAlias *.helpermaster.fr
38 > DocumentRoot /var/www/helpermaster.fr
39 >
40 > <Directory /var/www/helpermaster.fr>
41 >
42 > Order Allow, Deny
43 >
44 > Allow from all
45 > </Directory>
46 > </VirtualHost>
47 >
48 >
49 > It should work !
50 >
51
52 Thanks,
53
54 now i have that error:
55
56 [Sun Mar 09 20:34:01 2008] [error] (EAI 2)Name or service not known:
57 Could not resolve host name __default__ -- ignoring!
58 --
59 gentoo-user@l.g.o mailing list
60
61
62 --
63 gentoo-user@l.g.o mailing list

Replies

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