Skip to content

HTTP Custom Internationalized Status Messages

License

Notifications You must be signed in to change notification settings

gdsotirov/errordocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Custom Internationalized Status Messages

About

Apache HTTP server allows custom error messages through the ErrorDocument directive, which also could be internationalized using Content Negotiation. For such pages no advanced CGI is necessary, so using Server Side Includes provided by mod_include one could achieve "homogenous and consistent style and layout" with minimum maintenance work. This project is based on the ideas and examples from the page Using XSSI and ErrorDocument to configure customized international server error responses from HTTPD 1.3's documentation.

Installation

These are the steps to follow to install and configure custom error docs:

  1. Create directory for the error documents (see Creating an ErrorDocument directory) and modify your HTTPD configuration as described.
  2. Download projects files into the directory created in point 1.
  3. Restart HTTPD.

License

Please, see file COPYING.