[Xitami] Custom Error 404 pages directories

xitami@lists.xitami.org xitami@lists.xitami.org
Sat, 18 Aug 2001 13:40:30 -0700


OK, makes sense now.. had to study it a bit, look through the config files and
it looks do-able;-) Thanks for your help!

On Aug 16, 2001 03:55am, XITAMI@LISTS.XITAMI.ORG wrote to JOHN UHLIG:

 > 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!


 > --
 > Xitami Users Mailing List -- For Xitami support
 > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami