[Xitami] Several different root documents

Thomas xitami@lists.xitami.org
Tue, 29 Mar 2005 23:18:16 +0200


Hey Xitamites,

Is it possible to setup Xitami in a way that makes it possible to load a 
different root document based on what time it is?

Basically I have 6 different root documents and I want to load a 
different one depending on the amount of seconds passed:

1-10 seconds = doc1.html
11-20 seconds = doc2.html
21-30 seconds = doc3.html

And so on. Today I do it with PHP and a simple include, but I would like 
to get rid of the overhead using PHP, so I was wondering if perhaps 
Xitami had some secret trick up its sleeve to help speed things up.

:o)
Thomas