Gentoo Archives: gentoo-web-user

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

Replies

Subject Author
[gentoo-web-user] Fwd: apache vhost issue... Elyahou ITTAH <ittah.elyahou@×××××.com>
Re: [gentoo-web-user] apache vhost issue... "Frederik 'Freso' S. Olesen" <freso.dk@×××××.com>