CTS logo
hazy blue Catskill Mountains in distance

A Thought…

An American lawyer, doctor, and engineer are arrested in France and sentenced to be guillotined. The lawyer is placed in the device first, and the executioner releases the blade. It jams half way down! The lawyer says, “By the laws of your land, you must let me go!” The executioner sighs and says, “Oui, monsieur, get out of here!” Next up is the doctor, and again the blade jams. “By the laws of your land, you must release me!”, and he is let go. Last up is the engineer. Would you believe it? The guillotine’s blade jams again! The engineer twists his head around, studies the mechanism, and announces, “Ah, I see your problem!”

Anon

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, 406.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.

  • C Program Source (147 downloads, last download at 2020-03-29 08:21:16) — C code to compile and link, if ep.exe doesn't work for you.
  • Program Executable (170 downloads, last download at 2020-03-29 08:21:14) — DOS/Windows command line program to run on your PC to generate the error pages.
  • Sample Configuration File (112 downloads, last download at 2020-03-29 08:21:18) — 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 – 2020 by Catskill Technology Services, LLC.
All rights reserved.
Note that Third Party software (whether Open Source or proprietary) on this site remains under the copyright and license of its owners. Catskill Technology Services, LLC does not claim copyright over such software.

 

This page is https://www.catskilltech.com/FreeSW/product/errorpages/title/Error+Pages/freeSW_full

Like a quotation you saw earlier, and wish you could see it again? Want to see if there are more quotes from a certain person? Enter the address https://www.catskilltech.com/?quote=term to find a quotation containing that term. Looking for a term of multiple words separated by spaces? Separate the words by +'s: Mark+Twain.

Last updated Thu, 26 Jan 2017 at 7:09 PM

Valid HTML 5

Thu, 09 Apr 2020 at 12:07 AM EDT

Valid CSS