GitXplorerGitXplorer
b

errors

public
9 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
059fcb7d58efff677ef020bbc8f2dad5143b53f8

First pass at the provided error files. Humor is not my strong suit.

bbryanveloso committed 15 years ago
Unverified
2ec0eb9b7968a68dbf72a5e1fc2a2e1207288cc5

Don't really think we need error pages for the 300's...

bbryanveloso committed 15 years ago
Unverified
719f97775966f0b9cb7020febbfd95f1c6319787

Fleshing out the README. Adding the referenced .htaccess file and the header and footer HTML files.

bbryanveloso committed 15 years ago
Unverified
4d0f5c56ea54c701c70864372314bba3a49b29a2

Movin' on up.

bbryanveloso committed 15 years ago
Unverified
6d31e035510e2b088ff6faa803499bd2b62fedae

Adding the MIT license.

bbryanveloso committed 15 years ago
Unverified
55b04b757ead3ef7b82fcae3208f93eacb099f87

Initial commit. Hello README.

bbryanveloso committed 15 years ago

README

The README file for this repository.

Errors

A compilation of possibly silly custom Apache error pages to replace those mundane ones that usually show up at the time of epic failure.

Installation

This is tailored for my Webfaction usage, so the easiest way to use these files would be to throw the below lines into an .htaccess file.

ErrorDocument 400 /errors/400.html
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 405 /errors/405.html
ErrorDocument 408 /errors/408.html
ErrorDocument 415 /errors/415.html
ErrorDocument 500 /errors/500.html
ErrorDocument 501 /errors/501.html
ErrorDocument 502 /errors/502.html
ErrorDocument 503 /errors/503.html
ErrorDocument 504 /errors/504.html
ErrorDocument 505 /errors/505.html

Should work that way for any shared server environment, although slapping these in your httpd.conf might work just as well.

To make things easier (on me), the error documents use SSI. So you can edit /errors/ssi/header.html and /errors/ssi/footer.html to suit your needs. There is a CSS file referenced to make the error pages pretty that pulls off of my S3 server, you can choose to use it or replace it with your own.

Finally, there is an .htaccess file that sits at the root of this directory. In it, you should change the following from the defaults I have in place:

SetEnv TZ America/Los_Angeles
SetEnv SERVER_ADMIN servers@revyver.com