[vox-tech] Apache 2 virtual hosts configuration issue

Steven Peck vox-tech@lists.lugod.org
Wed, 6 Nov 2002 19:09:43 -0800


My DocumentRoot only has the one line.  From the file comments, I get =
the
purpose of the UserDir, but what's FancyIndexing?

DocumentRoot "/var/www/html"


-----Original Message-----
From: ALLO (Alfredo Lopez) [mailto:ald@novozymesbiotech.com]=20
Sent: Wednesday, November 06, 2002 9:31 AM
To: 'vox-tech@lists.lugod.org'
Subject: RE: [vox-tech] Apache 2 virtual hosts configuration issue


Steve,
Where is your DocumentRoot pointing to?
In Redhat the configuration file is in:
/etc/httpd/conf/httpd.conf

On my single server this section looks like:

# Documents
DocumentRoot /var/www/html
UserDir public_html
IndexOptions FancyIndexing

Alfredo
-----Original Message-----
From: Steven Peck [mailto:speck@blkmtn.org]=20
Sent: Tuesday, November 05, 2002 8:56 PM
To: vox-tech@lists.lugod.org
Subject: [vox-tech] Apache 2 virtual hosts configuration issue


Ok,=20
I have Red Hat 8 running Apache 2.  Running on an internal test LAN.=20
We'll use server.com and example.net for names as none of them are =
accessible
from the Internet yet.=20
Using their Apacheconf utility I have set up 2 virtual hosts.=20
If I use the name www.server.com I get the default Apache page.=20
If I use the name www.example.net I get the default Apache page.=20
If I use the name www.server.com/index.html I get the web page of the =
site I
moved there.=20
If I use the name www.example.net/index.html I get the web page of the =
site I
moved there.=20
If I specify ANY of the pages I moved there, I get them.  If I do not =
specify
a page, I get the default Apache web page.
I have done this before with Apache 1.3 and the conf files look the =
same.
Any ideas on where to start reading?=20
-sp=20