transparent.gif (1K)hsbannertab_apps.gif (1K)hsbannertabspacer2.gif (1K)
icon_esub.gif (1K)Subscribe | icon_faq.gif (1K)FAQs | ico_lock_sm.png (1K)Account

Utilities - Multidomain Server Status Code Template

Step 1 Step 2 Step 3 Step 4

STEP 1 of 4 - prepare the utility script

STEP 2 of 4 - configure the server

STEP 3 of 4 - create and modify xHTML template

  • Create or open for editing the statuscode.tpl xHTML template file in the root-level directory - NOT in any subdomain directories.
  • Confirm that file permissions are set to 711 (-rw-r--r--).
  • Add or modify the xHTML to suit your default layout. The default is quite simple and correlates with the internal script template. Changing this default to complement your domain is advised. Remember that this is the universal status code error page default layout for, potentially, many (sub)domains.
  • Do NOT remove the top line defining the statuscode.tpl.
  • Do NOT remove any tags enclosed thusly: ##parsedtag##. You may move these tags, however, wherever you prefer in your layout.

STEP 4 of 4 - create and modify CSS

The third step in using this tool is to create and modify the xHTML template:

<!-- {{ statuscode.tpl - HTML-body content for HistoSoft™ Status Code script - DO NOT REMOVE }} -->
    <!-- begin html body -->
    <!-- begin header -->
    <h1 class="domain">##fqdn##</h1>
    <!-- end header -->
    <!-- begin content table -->
    <table summary="Main Content - status indicator">
      <tr>
        <th><h2>##code##</h2></th>
      </tr>
      <tr>
        <td><p>Oops! You've just experienced a "##explain##" error at <a
        href="http://##fqdn##">##fqdn##</a>.</p>
        <p>Read about it from RFC2616 (Status Code Definitions) at the <a
        href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html###w3cnote##">W3C
        Hypertext Transfer Protocol [HTTP/1.1]</a> guide.</p></td>
      </tr>
    </table>
    <!-- end content table -->
    <!-- begin footer table -->
    <table class="footer" summary="Copyright footer">
      <tr>
        <td><p>Last modified on ##date##<br />
        Copyright</a> © 2005 <a
        href="http://##fqdn##">##fqdn##</a>. All Rights Reserved.</p></td>
      </tr>
    </table>
    <!-- end footer table -->
    <!-- end html body -->

Would you like to make a suggestion or comment regarding this utility? By all means, share your opinion on the eForum.


 
         
navtop_g.png (1K) Support | Contact | Webmaster | Privacy navprv.png (1K)navupsq.png (1K)navnxt.png (1K)
Last modified on June 29, 2008
Copyright © 2002-2008 HistoSoft Corporation.
All Rights Reserved.
Level Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0.Valid CSS!.Valid XHTML 1.1!.

About the design of this page

If you are using a "dated", non-text browser, this page may not render properly. You should be able to read all the content; however, since the styling is achieved with cascading style sheets (CSS) and old browsers do not support CSS, you must upgrade your browser. We apologize for any inconvenience.