[vox-tech] Apache 2 virtual hosts configuration issue
Steven Peck
vox-tech@lists.lugod.org
Tue, 5 Nov 2002 20:55:34 -0800
This is a multi-part message in MIME format.
------_=_NextPart_001_01C28550.BD59B193
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Ok,
I have Red Hat 8 running Apache 2. Running on an internal test LAN.
We'll use server.com and example.net for names as none of them are =
accessible
from the Internet yet.
Using their Apacheconf utility I have set up 2 virtual hosts.
If I use the name www.server.com I get the default Apache page.
If I use the name www.example.net I get the default Apache page.
If I use the name www.server.com/index.html I get the web page of the =
site I
moved there.
If I use the name www.example.net/index.html I get the web page of the =
site I
moved there.
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?
-sp
------_=_NextPart_001_01C28550.BD59B193
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6249.1">
<TITLE>Apache 2 virtual hosts configuration issue</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=3D2 FACE=3D"Arial">Ok,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I have Red Hat 8 running Apache =
2. Running on an internal test LAN.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">We'll use server.com and example.net =
for names as none of them are accessible from the Internet yet.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Using their Apacheconf utility I have =
set up 2 virtual hosts.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">If I use the name </FONT><A =
HREF=3D"file://www.server.com"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">www.server.com</FONT></U></A><FONT SIZE=3D2 =
FACE=3D"Arial"> I get the default Apache page.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">If I use the name </FONT><A =
HREF=3D"file://www.example.net"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">www.example.net</FONT></U></A><FONT SIZE=3D2 =
FACE=3D"Arial"> I get the default Apache page.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">If I use the name </FONT><A =
HREF=3D"file://www.server.com/index.html"><U><FONT COLOR=3D"#0000FF" =
SIZE=3D2 FACE=3D"Arial">www.server.com/index.html</FONT></U></A><FONT =
SIZE=3D2 FACE=3D"Arial"> I get the web page of the site I moved =
there.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">If I use the name </FONT><A =
HREF=3D"file://www.example.net/index.html"><U><FONT COLOR=3D"#0000FF" =
SIZE=3D2 FACE=3D"Arial">www.example.net/index.html</FONT></U></A><FONT =
SIZE=3D2 FACE=3D"Arial"> I get the web page of the site I moved =
there.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">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.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I have done this before with Apache 1.3 =
and the conf files look the same. Any ideas on where to start =
reading?</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">-sp</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C28550.BD59B193--