Posted By

Orlandoo on 09/19/10


Tagged

htaccess


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

NyX
czterystaczwarty
abdulaziz
kubaitis


Creating a Custom Error Page


 / Published in: Apache
 

Are you as tired as me of the default layout of 404 error pages? Well now you can easily create your own and refer to it like this:

  1. ErrorDocument 401 /error/401.php
  2. ErrorDocument 403 /error/403.php
  3. ErrorDocument 404 /error/404.php
  4. ErrorDocument 500 /error/500.php

Report this snippet  

You need to login to post a comment.