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

STEP 4 of 4 - create and modify CSS

  • Create or open for editing the basic.css stylesheet file in the domain's (or subdomain's) stylesheet directory.
  • Confirm that file permissions are set to 711 (-rw-r--r--).
  • Add or modify the selector properties to suit your domain. The defaults are quite simple and correlate with both the default xHTML template and the internal script template.
  • Edit the nph-statuscode.cgi script to confirm that the /path/to/stylesheet/basic.css is appropriate for your (sub)domain.

The fourth, and final, step in using this tool is to create and modify the CSS stylesheet:

/* HistoSoft multi-domain customized error page handler */
/* basic.css style sheet */
/* June 23, 2005 */
/* Copyright (c) 2005 HistoSoft Corporation. All Rights Reserved */

body {
 font-family: Helvetica,Verdana,Geneva,Arial,sans-serif;
 margin: 0;
 text-align: center;
}

h1.domain {
 background-color: #233e7c;
 color: #ddd;
 margin: 0;
}

p {
 margin: 0.5em 0;
}

table {
 background-color: #ddd;
 color: #233e7c;
 border: solid 0.5em #c8d2df;
 margin: 2em 10%;
 padding-bottom: 1em;
 width: 80%;
}

table.footer {
 padding: 0;
}

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.