Apache Error Codes

With the function below you can add your own custom actions to error statuses of Apache.

Lets say you want a custom 404 error page. You could redirect a user upon a 404 error or show a complete different layout.

You can download this 404 error page example to play with.