[Xitami] HELP - virtual DNS hosting

John Jonas xitami@lists.xitami.org
Thu, 20 Sep 2001 18:58:16 -0500


--------------5852EDA155B9A8655EBC7923
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Here is what works for me using 2.4d7 on W2K Pro (worked the same on NT
4.0 Server).  Our primary site is www.arbor-freight.com with a virtual
site of www.audctrl.com.

The default.cfg that I believe is automatically merged with the
xitami.cfg contains:

#*END

[Ftp]
    Email-check=1
    Root=t:\ftphome

[Security]
    Filename=defaults.aut

[Server]
    Cgi-bin=e:\webhome\cgi-bin
    Webpages=e:\webhome\arbor

[Virtual-hosts]
    www.audctrl.com=audctrl.cfg

Then there is an audctrl.cfg (as pointed to by the default.cfg)
containing:

#*END

[Accesslog]
    Filename=audctrl.log

[Ftp]
    Root=t:\ftphome

[Security]
    Admin=0
    Filename=audctrl.aut

[Server]
    Cgi-bin=e:\webhome\cgi-bin
    Webpages=e:\webhome\audctrl

Note in our case we use the same ftp and cgi-bin for both the primary
and virtual, but use separate webpage directories.

Hope this helps!

Russel Olinger wrote:

> 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.

--------------5852EDA155B9A8655EBC7923
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body bgcolor="#FFFFFF">
Here is what works for me using 2.4d7 on W2K Pro (worked the same on NT
4.0 Server).&nbsp; Our primary site is www.arbor-freight.com with a virtual
site of www.audctrl.com.
<p>The default.cfg that I believe is automatically merged with the xitami.cfg
contains:
<p><b><font face="Courier New,Courier"><font size=-1>#*END</font></font></b><b><font face="Courier New,Courier"><font size=-1></font></font></b>
<p><b><font face="Courier New,Courier"><font size=-1>[Ftp]</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Email-check=1</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Root=t:\ftphome</font></font></b><b><font face="Courier New,Courier"><font size=-1></font></font></b>
<p><b><font face="Courier New,Courier"><font size=-1>[Security]</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Filename=defaults.aut</font></font></b><b><font face="Courier New,Courier"><font size=-1></font></font></b>
<p><b><font face="Courier New,Courier"><font size=-1>[Server]</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Cgi-bin=e:\webhome\cgi-bin</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Webpages=e:\webhome\arbor</font></font></b><b><font face="Courier New,Courier"><font size=-1></font></font></b>
<p><b><font face="Courier New,Courier"><font size=-1>[Virtual-hosts]</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
www.audctrl.com=audctrl.cfg</font></font></b><b></b>
<p>Then there is an audctrl.cfg (as pointed to by the default.cfg) containing:<b></b>
<p><b><font face="Courier New,Courier"><font size=-1>#*END</font></font></b><b><font face="Courier New,Courier"><font size=-1></font></font></b>
<p><b><font face="Courier New,Courier"><font size=-1>[Accesslog]</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Filename=audctrl.log</font></font></b><b><font face="Courier New,Courier"><font size=-1></font></font></b>
<p><b><font face="Courier New,Courier"><font size=-1>[Ftp]</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Root=t:\ftphome</font></font></b><b><font face="Courier New,Courier"><font size=-1></font></font></b>
<p><b><font face="Courier New,Courier"><font size=-1>[Security]</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Admin=0</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Filename=audctrl.aut</font></font></b><b><font face="Courier New,Courier"><font size=-1></font></font></b>
<p><b><font face="Courier New,Courier"><font size=-1>[Server]</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Cgi-bin=e:\webhome\cgi-bin</font></font></b>
<br><b><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;
Webpages=e:\webhome\audctrl</font></font></b>
<p>Note in our case we use the same ftp and cgi-bin for both the primary
and virtual, but use separate webpage directories.
<p>Hope this helps!
<p>Russel Olinger wrote:
<blockquote TYPE=CITE><font face="Arial"><font size=-1>Ok, I am caving
in and need some help here folks.&nbsp; This is driving me nuts.&nbsp;
Two years ago, on a Win98 platform I was able to get virtual hosting to
work via DNS.&nbsp; But now I am running a newer Xitami version on WinNT
4.0 and can't seem to get anything to work.</font></font></blockquote>

</body>
</html>

--------------5852EDA155B9A8655EBC7923--