Gentoo Archives: gentoo-user

From: Tito Valentin <tito@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Help With vhost.conf apache2
Date: Sat, 11 Mar 2006 15:41:30
Message-Id: 4412A75E.1080107@ezyield.com
1 Hello All,
2
3 I am trying to get apache to work with a few vhost. The problem is that
4 when I hit www.domain.com it shows the apache page rather than the
5 actual site. In order for me to be able to view the site I have to type
6 www.domain.dom/folder and then the site comes up. Here is what I have
7 done so far with the vhost.conf files:
8
9 Apache2 on Gentoo
10
11 /etc/apache2/httpd.conf
12 Include vhosts.d/00_default_vhost.conf
13 Include vhosts.d/01_my_domain_vhost.conf
14
15 /etc/conf.d/apache2
16 -D DEFAULT_VHOST (plus ssl and other)
17
18 /etc/apache2/vhosts.d/00_default_vhost.conf
19 Default file with new domain information.
20
21 /etc/apache2/vhosts.d/01_my_domain_vhost.conf
22 <VirtualHost www.my_domain.com>
23 ServerAdmin webmaster@my_domain.com
24 DocumentRoot /var/www/localhost/htdocs/parknorthcondos
25 DirectoryIndex index.php index.html
26 ServerName www.my_domain.com
27 ErrorLog /var/log/apache2/vhosts/my_domain_error_log
28 CustomLog /var/log/apache2/vhosts/my_domain_access_log common
29 </VirtualHost>
30
31 I just want to be able to hit www.my_domain.com and able to see my site
32 instead of the apache splash page.
33
34 Any help is greatly appreciated.
35
36 Thanks,
37 Tito
38 --
39 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Help With vhost.conf apache2 Haim Ashkenazi <haim@××××××××××.org>
Re: [gentoo-user] Help With vhost.conf apache2 "Michael Stewart (vericgar)" <vericgar@g.o>