22 May 2006

From Organic Design wiki
Virtual hosting with XmlWiki

I've made a good and simple way to host and manage the content of multiple web sites using a single XmlWiki. It uses the new domain-properties.php transform which has been added to the init event in default-properties.xml. This allows a properties article specific to the request-URL's domain to be merged with the default-properties. For example, the article zenovia.net.xml is a properties article which will globally apply to all article requests using the www.zenovia.net domain.

This method makes it simple to have their own site-wide CSS's for design and wiki-tool hiding or to have their own customised tools etc. If these properties are designed to make the wiki invisible, then content can still be managed from the organicdesign.co.nz domain instead. It also means that virtual-hosts are unnecessary, all domains point to the same IP, and the web-server can be run simply on the single-site default configuration.

--Nad 13:17, 22 May 2006 (NZST)