DTC-Xen Installation

DTC-Xen / Dom0 Howtos

DTC-Xen / DomU Howtos


DTC Howtos




Devel docs

Wiki - i18n

Wiki - Meta

Where is the error document (404) and how does it work?

The error document general for all of your web server is located in /var/lib/dtc/etc/dtc404. As per default, it comes with the 404 page of DTC. Feel free to change the content of this folder, it will NOT be overwritten at the next install / upgrade of the control panel.

If your users want to have a custom 404 error document, simply add a .htaccess file in the root folder of your website, in it write:

   ErrorDocument 404 my-nice-page.php

and my-nice-page.php will be the handler for 404 errors. You can also add other errors (like 406, 500, etc.) the same way:

   ErrorDocument 404 my-nice-page.php
   ErrorDocument 406 my-nice-page.php
   ErrorDocument 500 my-nice-page2.php
Page last modified on April 19, 2010, at 07:54 PM EST