XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
-
jslick
- Forum Commoner
- Posts: 35
- Joined: Wed Jul 21, 2004 11:18 am
Post
by jslick »
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:
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
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.
-
jslick
- Forum Commoner
- Posts: 35
- Joined: Wed Jul 21, 2004 11:18 am
Post
by jslick »
Never mind, I got it to work from help of a different forum.