public inbox for gentoo-web-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-web-user] apache vhost issue...
@ 2008-03-09 11:39 Elyahou ITTAH
  2008-03-09 11:45 ` [gentoo-web-user] Fwd: " Elyahou ITTAH
  2008-03-10 21:48 ` [gentoo-web-user] " Frederik 'Freso' S. Olesen
  0 siblings, 2 replies; 3+ messages in thread
From: Elyahou ITTAH @ 2008-03-09 11:39 UTC (permalink / raw
  To: gentoo-web-user

Hello, I have dificulty to configure vhost in apache... Here some
files of my configuration

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...
-- 
gentoo-web-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-web-user] Fwd: apache vhost issue...
  2008-03-09 11:39 [gentoo-web-user] apache vhost issue Elyahou ITTAH
@ 2008-03-09 11:45 ` Elyahou ITTAH
  2008-03-10 21:48 ` [gentoo-web-user] " Frederik 'Freso' S. Olesen
  1 sibling, 0 replies; 3+ messages in thread
From: Elyahou ITTAH @ 2008-03-09 11:45 UTC (permalink / raw
  To: gentoo-web-user

---------- Forwarded message ----------
From: Elyahou ITTAH <ittah.elyahou@gmail.com>
Date: 9 mars 2008 13:39
Subject: apache vhost issue...
To: gentoo-web-user@lists.gentoo.org


Hello, I have dificulty to configure vhost in apache... Here some
 files of my configuration

 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...
-- 
gentoo-web-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-web-user] apache vhost issue...
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Frederik 'Freso' S. Olesen @ 2008-03-10 21:48 UTC (permalink / raw
  To: gentoo-web-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-10 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [gentoo-web-user] " Frederik 'Freso' S. Olesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox