- Module: mod_err.so
- Description: This module make it possible to change the error pages.
- Configuration:
Read the 'README' file for more information about how to configure a module.
Cfg-data to place in httpd.cfg-file:
[Save/Read] <filename> <error-id>
[Save/Read] 'Save' will read the file and keep it in
the memory, wich will be faster then read
the file everytime wich 'Read' does.
<filename> The filename to the HTML document.
<error-id> The error number to change.
To replace all error 404(file not found) pages your configuration could look something like this:
Save /var/error_pages/404.html 404
