Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-web-user
Navigation:
Lists: gentoo-web-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-web-user@g.o
From: "Frederik 'Freso' S. Olesen" <freso.dk@...>
Subject: Re: apache vhost issue...
Date: Mon, 10 Mar 2008 22:48:19 +0100
2008/3/9, Elyahou ITTAH <ittah.elyahou@...>:
>in /etc/conf.d/apache2:
>APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE  -D PHP5 -D USERDIR"
>
># ls -l /var/www
>total 8
>drwxr-xr-x 4 apache apache 4096 mar  9 02:20 helpermaster.fr
>drwxr-xr-x 6 root   root   4096 mar  8 22:12 localhost
>
># cat /etc/apache2/vhosts.d/01_vhost1.conf
><VirtualHost *:80>
>ServerName helpermaster.fr
>ServerAlias helpermaster.fr
>DocumentRoot "/var/www/helpermaster.fr/htdocs"
><Directory "/var/www/helpermaster.fr/htdocs">
>  Options Indexes FollowSymLinks
>  AllowOverride All
>  Order allow,deny
>  Allow from all
></Directory>
></VirtualHost>
>
>
>But when I type helpermaster.fr on my browser, i receive the
>www/localhost pages and no the www/helpermaster.fr pages...

Did you restart the server? What does Apache's error log(s) say?

Also, if you want to access the domain with "www.", you should replace
your ServerAlias with "ServerAlias www.helpermaster.fr".

-- 
Frederik 'Freso' S. Olesen <http://freso.dk/>
-- 
gentoo-web-user@g.o mailing list


References:
apache vhost issue...
-- Elyahou ITTAH
Navigation:
Lists: gentoo-web-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Fwd: apache vhost issue...
Next by thread:
i meet and chat with your
Previous by date:
Fwd: apache vhost issue...
Next by date:
unsubscribe


Updated Jun 17, 2009

Summary: Archive of the gentoo-web-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.