CTS logo hazy blue Catskill Mountains in distance

CTS site Home Page
CTS Technical Services
Contact CTS CTS legal info Your Privacy About the Catskills CTS in the Press My favorite links Site Map
Valid XHTML 1.0 Transitional

Valid CSS!

Lunarpages.com Web Hosting
Affiliate Program

This page is http://www.catskilltech.com/Products/freeSW/freeSW_full.html

Page last updated
Wed, 23 Nov 2011 at 6:48 PM

Error document maker for Apache servers

With errorpages, you can easily knock out error document pages usable in an Apache server. I have no idea if they would work in an IIS server, but should work in any server that supports <error number>.shtml files called upon that error's appearance.

C Source utility

The program, as shipped, produces 400.shtml, 401.shtml, 403.shtml, 404.shtml, and 500.shtml files. They are ready to be placed in the root directory of your site (or could be placed elsewhere, with the appropriate entry in your .htaccess or similar file). The C code may be easily modified to change the list of error documents produced, or (less easily) the template for the output pages.

The program is controlled by a configuration file, named on the command line. This configuration file specifies things like the site name, business name, domain, webmaster email address, background color, and business logo. The last two items may be used to produce an error document that fairly closely matches the style of your site pages.

The whole purpose of errorpages is to provide a quick way to create similar-looking error document files for a number of errors, for a site, which is compatible with your site's appearance (at least, color and logo). Of course, you are free to customize the code to produce a set of error documents with a different flavor. We won't be offended.

  • 2011-10-09C Program Source — C code to compile and link, if ep.exe doesn't work for you.
  • 2011-10-09Program Executable — DOS/Windows command line program to run on your PC to generate the error pages.
  • 2011-10-09Sample Configuration File — CTS configuration that you modify for your site's specifics.

To run "ep", customize and rename the configuration file.

ep < yourConfigFile


All content © copyright 2005 – 2012 by Catskill Technology Services, LLC. All rights reserved.

Site Home |  Technical Services |  Contact Us |  Legal Stuff |  Privacy
The Catskills |  In the Press |  Favorite Links |  Site Map