[Xitami] sub-domains

James T xitami@lists.xitami.org
Mon, 23 Sep 2002 21:22:33 +0200


Michael I think this is what your looking for to set the path to the web
page of the subdomain


When you set-up a virtual host, you will generally want to use a specific
directory for the web pages, CGI scripts, password file, and log files. (You
can also share these in any way you need to.) You can also configure options
such as the HTTP error messages, timeouts, security, and so on.

To define these, you specify a configuration file per virtual host. The
virtual host configuration inherits all definitions from defaults.cfg (and
xitami.cfg). You need only define those options that are specific to the
virtual host. If the HTTP request refers to a host name or IP address that
has not been configured as a virtual host, the request is handled by the
base host. To configure the base host, create a file called 'basehost.cfg'.
You can change this name in the defaults.cfg file server:base-host option.

This is a typical configuration for a site with several virtual hosts:

[Server]
    webpages=websites/hostx/webpages
    cgi-bin=websites/hostx/cgi-bin

Some of the options in the [Server] apply to the entire server globally, and
are not taken from the virtual host configuration file: background,
customise, debug, limit, portbase, and refresh.

----- Original Message -----
From: "Michael Bronder" <bronder@attbi.com>
To: "Xitami@Lists. Xitami. Org (E-mail)" <xitami@lists.xitami.org>
Sent: Monday, September 23, 2002 6:40 PM
Subject: [Xitami] sub-domains


> hi all,
>
> I'm wondering what the best way is to crete "sub-domains."  that is, I
have
> my DNS acount pointing www.domain.com and *.domain.com to my xitami server
> now which then points to the default home page for my sight.  cool.
>
> but how do I then point subdomain.domain.com to a different web page on my
> server?
>
> Is this the same as setting virtual hosts?
>
> thanks,
>
> mb
>
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/2002