[Xitami] HELP - virtual DNS hosting

Russel Olinger xitami@lists.xitami.org
Thu, 20 Sep 2001 13:44:28 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_083B_01C141DA.5E340CF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Ok, I am caving in and need some help here folks.  This is driving me =
nuts.  Two years ago, on a Win98 platform I was able to get virtual =
hosting to work via DNS.  But now I am running a newer Xitami version on =
WinNT 4.0 and can't seem to get anything to work.

I am testing this all locally on private LAN - then once the sites are =
working properly will deploy the server to the internet with valid =
addresses.  My local DNS server is set up correctly and all the PTR and =
A records authenticating properly.

Could someone who is successfully doing DNS virtual hosting please send =
me their xitami.cfg and their defaults.cfg files for reference.  As =
well, could you give me a snapshot of the directory structure of the =
Xitami root directory.  I think I recall how the directory structure is =
supposed to look when configured correctly.

How are the virtual site directories set up.  Like example A or example =
B, I believe its supposed to look like Example A (which is completely =
logical because it stores all of the Virtual Sites pages, files, scripts =
under a single directory branch).  But when I use the Virtual Host =
Wizard it is creating the directories similar to Example B (which =
doesn't make sense because its seperating the virtual sites files under =
multiple directory branches). =20
=20
Example A:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/webserver
   - cgi-bin
   - htdocs
   - ftproot
   - carpe-dm
       -htdocs
       -cgi-bin
       -ftproot
   - kdralumni
       -htdocs
       -cgi-bin
       -ftproot

Example B:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/webserver
   - cgi-bin
       -carpe-dm
       -kdralumni
   - htdocs
       -carpe-dm
       -kdralumni
   - ftproot

What the heck am I doing wrong???????????????????????????????

------=_NextPart_000_083B_01C141DA.5E340CF0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Ok, I am caving in and need some help =
here=20
folks.&nbsp;&nbsp;This is driving me nuts.&nbsp; Two years ago, on a =
Win98=20
platform I was able to get virtual hosting to work via DNS.&nbsp; But =
now I am=20
running a newer Xitami version on WinNT 4.0 and can't seem to get =
anything to=20
work.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am testing this all locally on =
private LAN - then=20
once the sites are working properly will deploy the server to the =
internet with=20
valid addresses.&nbsp; My local DNS server is set up correctly and all =
the PTR=20
and A records authenticating properly.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Could someone who is successfully doing =
DNS virtual=20
hosting please send me their xitami.cfg and their defaults.cfg files for =

reference.&nbsp; As well, could you give me a snapshot of the directory=20
structure of the Xitami root directory.&nbsp; I think I recall how the =
directory=20
structure is supposed to look when configured correctly.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>How are the virtual site directories =
set up.&nbsp;=20
Like example A or example B, I believe its supposed to look like Example =
A=20
(which is completely logical because it stores all of the Virtual Sites =
pages,=20
files, scripts under a single&nbsp;directory branch).&nbsp; But when I =
use the=20
Virtual Host Wizard it is creating the directories similar to Example B =
(which=20
doesn't make sense because its seperating the virtual sites files under =
multiple=20
directory branches).&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Example A:</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>/webserver</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; - cgi-bin</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; - htdocs</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; - ftproot</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; - carpe-dm</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-htdocs</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-cgi-bin</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-ftproot</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; - kdralumni</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-htdocs</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-cgi-bin</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-ftproot</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Example B:</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>/webserver</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; - cgi-bin</FONT></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -carpe-dm</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -kdralumni</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; - htdocs</FONT></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -carpe-dm</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -kdralumni</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; - ftproot</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>What the heck am I doing=20
wrong???????????????????????????????</FONT></DIV></DIV></FONT></DIV></BOD=
Y></HTML>

------=_NextPart_000_083B_01C141DA.5E340CF0--