From: "Frederik 'Freso' S. Olesen" <freso.dk@gmail.com>
To: gentoo-web-user@lists.gentoo.org
Subject: Re: [gentoo-web-user] apache vhost issue...
Date: Mon, 10 Mar 2008 22:48:19 +0100 [thread overview]
Message-ID: <5ac9cdd10803101448l6ca1fe02t77dad68dfda71704@mail.gmail.com> (raw)
In-Reply-To: <c74ac3520803090439q268b047q15e410711fc31f4f@mail.gmail.com>
2008/3/9, Elyahou ITTAH <ittah.elyahou@gmail.com>:
>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@lists.gentoo.org mailing list
prev parent reply other threads:[~2008-03-10 21:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-09 11:39 [gentoo-web-user] apache vhost issue Elyahou ITTAH
2008-03-09 11:45 ` [gentoo-web-user] Fwd: " Elyahou ITTAH
2008-03-10 21:48 ` Frederik 'Freso' S. Olesen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5ac9cdd10803101448l6ca1fe02t77dad68dfda71704@mail.gmail.com \
--to=freso.dk@gmail.com \
--cc=gentoo-web-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox