Custom error pages with .htaccess
Posted: Tue Aug 03, 2004 9:33 pm
I learned this from feyd's .htaccess tutorial: http://www.javascriptkit.com/howto/htaccess.shtml
I am making custom error pages. I have error.php. This is my .htaccess file:
But it doesn't work. That is my entire .htaccess, is there more I need to put? What is the default .htaccess file like? 'Cause mine was overwritten.
I am making custom error pages. I have error.php. This is my .htaccess file:
Code: Select all
Code:
ErrorDocument 404 /error.php?e=404
ErrorDocument 401 /error.php?e=401
ErrorDocument 403 /error.php?e=403
ErrorDocument 500 /error.php?e=500