avahi
May 24th, 2009, 09:15 PM
The default Apache errordocuments put me to sleep, so I've decided to make some nice Ubuntu-toned replacements for my Ubuntu servers.
They are colored by a CSS stylesheet, so it's easy to change the colors for all of them at once.
-----
How to use:
1) Drag the "errordocs" folder in the attached .zip file to your site's root directory
2) In your apache2.conf, add or replace the following lines:
ErrorDocument 401 /errordocs/401.html
ErrorDocument 403 /errordocs/403.html
ErrorDocument 404 /errordocs/404.html
ErrorDocument 410 /errordocs/410.html
ErrorDocument 414 /errordocs/414.html
ErrorDocument 418 /errordocs/418.html
ErrorDocument 500 /errordocs/500.html
ErrorDocument 503 /errordocs/503.html
ErrorDocument 509 /errordocs/509.html
3) Restart Apache
Enjoy :)
Free to use under GPLv3.
They are colored by a CSS stylesheet, so it's easy to change the colors for all of them at once.
-----
How to use:
1) Drag the "errordocs" folder in the attached .zip file to your site's root directory
2) In your apache2.conf, add or replace the following lines:
ErrorDocument 401 /errordocs/401.html
ErrorDocument 403 /errordocs/403.html
ErrorDocument 404 /errordocs/404.html
ErrorDocument 410 /errordocs/410.html
ErrorDocument 414 /errordocs/414.html
ErrorDocument 418 /errordocs/418.html
ErrorDocument 500 /errordocs/500.html
ErrorDocument 503 /errordocs/503.html
ErrorDocument 509 /errordocs/509.html
3) Restart Apache
Enjoy :)
Free to use under GPLv3.