[Xitami] Looking for anyone interested in advancing Xitami
bernd hohmann
xitami@lists.xitami.org
Mon, 26 Nov 2001 10:30:15 +0100 (MEZ)
On Fri, 23 Nov 2001 20:15:08 -0000, Ben Sadler wrote:
> how did you get sub-domains to work on xitami? next year i want to move my
> domain to my computer, so that nameservers are running on my computer (its
> cheaper) and i would like to know how to do this.
as any other subdomain too: you define the subdomain in your DNS (like os2.harddiskcafe.de, www.harddiskcafe.de, ftp.harddiskafe.de) and create an entry in the [Virtual-Hosts] section of the xitami configuration.
os2.harddiskcafe.de=c:\www\vhosts\os2.harddiskcafe.de\vhost.cfg
in this vhost.cfg you define the differences in the configuration:
[Server]
ipaddress=62.159.157.34
webpages=c:\www\vhosts\os2.harddiskcafe.de\htdocs\
[AccessLog]
filename=c:\www\vhosts\os2.harddiskcafe.de\logdata\access.log
cycle-arg=c:\www\vhosts\os2.harddiskcafe.de\logdata\ac%yy%mm%dd.log
[ErrorLog]
filename=c:\www\vhosts\os2.harddiskcafe.de\logdata\access.log
cycle-arg=c:\www\vhosts\os2.harddiskcafe.de\logdata\ac%yy%mm%dd.log
[Security]
filename=c:\www\vhosts\os2.harddiskcafe.de\vhost.aut
dirlist=1
bernd