Gentoo Archives: gentoo-web-user

From: Elyahou ITTAH <ittah.elyahou@×××××.com>
To: gentoo-web-user@l.g.o
Subject: [gentoo-web-user] Fwd: apache vhost issue...
Date: Sun, 09 Mar 2008 11:45:11
Message-Id: c74ac3520803090445v42f09a1biae81fcf8d2720d6e@mail.gmail.com
In Reply to: [gentoo-web-user] apache vhost issue... by Elyahou ITTAH
1 ---------- Forwarded message ----------
2 From: Elyahou ITTAH <ittah.elyahou@×××××.com>
3 Date: 9 mars 2008 13:39
4 Subject: apache vhost issue...
5 To: gentoo-web-user@l.g.o
6
7
8 Hello, I have dificulty to configure vhost in apache... Here some
9 files of my configuration
10
11 in /etc/conf.d/apache2:
12 APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE -D PHP5 -D USERDIR"
13
14 # ls -l /var/www
15 total 8
16 drwxr-xr-x 4 apache apache 4096 mar 9 02:20 helpermaster.fr
17 drwxr-xr-x 6 root root 4096 mar 8 22:12 localhost
18
19 # cat /etc/apache2/vhosts.d/01_vhost1.conf
20 <VirtualHost *:80>
21 ServerName helpermaster.fr
22 ServerAlias helpermaster.fr
23 DocumentRoot "/var/www/helpermaster.fr/htdocs"
24 <Directory "/var/www/helpermaster.fr/htdocs">
25 Options Indexes FollowSymLinks
26 AllowOverride All
27 Order allow,deny
28 Allow from all
29 </Directory>
30 </VirtualHost>
31
32
33 But when I type helpermaster.fr on my browser, i receive the
34 www/localhost pages and no the www/helpermaster.fr pages...
35 --
36 gentoo-web-user@l.g.o mailing list