[Xitami] Custom Error 404 pages directories
Michael S. Kazarin
xitami@lists.xitami.org
Thu, 16 Aug 2001 14:55:32 +0400
I have the following set up for my server:
xitami.cfg -> [Server] -> error-script=./templates/errmain.gsl (for main
server, you might be using defaults.cfg as recommended by Imatix people)
vhost01.cfg -> [Server] -> error-script=./templates/errvhost01.gsl (for
virtual host 1)
vhost02.cfg -> [Server] -> error-script=./templates/errvhost02.gsl (for
virtual host 2)
vhost03.cfg -> [Server] -> error-script=./templates/errvhost03.gsl (for
virtual host 3)
... etc.
You have to also specify in configs the use of error-schemas: [Server] ->
use-error-script=1
In this case templates directory should be under Xitami executable directory
(in your case //xitami).
| IS there a way to specify a separate errors pages for virtual domains?
| I am hosting s few virtual domains under a directory structure as such:
|
| //xitami/webpages (main)
| //xitami/webpages/domain1
| //xitami/webpages/domain2
| //xitami/webpages/domain3
| etc.
|
| The way it is set up (or not set up) now, every virtual domain calls the
error
| pages from the main domain. How do I change this?
| Examples of config files and directory structure would be helpful.
|
| Thanks all!