[Xitami] HELP - virtual DNS hosting

Russel Olinger xitami@lists.xitami.org
Thu, 20 Sep 2001 17:35:32 -0700


I assumed you used the wizard to add the VH.  When you created:

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

Did Xitami automatically create the images, private and xitami
subdirectories in the \webhome\audctrl directory?  And is it creating the
necessary files that go into the directories (such as those you would find
the /htdocs/xitami directory) I am trying to keep everything related to a VH
consolidated to a single directory that would like this:

\webserver\host-vh1
     \cgi-bin
     \htdocs
          \images
          \private
          \xitami
     \ftproot
         \guests
         \pub
         \upload

\webserver\host-vh2


     \cgi-bin
     \htdocs
          \images
          \private
          \xitami
     \ftproot
         \guests
         \pub
         \upload

Last question, do you have to create any kind of alias mapping (aside from
the host-vhx.cfg file) using the "Aliases" or "VHosts" sections.  I would
think you don't but then again I thought this process would be easier.

----- Original Message -----
From: John Jonas
To: xitami@lists.xitami.org
Sent: Thursday, September 20, 2001 4:58 PM
Subject: Re: [Xitami] HELP - virtual DNS hosting


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.