...

View Full Version : Custom Error Pages in IE



Ranger56
04-12-2007, 10:43 PM
So I have custom error pages for 404 and 403 errors set up in my .htaccess file, and they work just fine in Firefox and the 403 works in IE, but I still get the standard IE 404 error message. Why isnt't the custom one showing up?

ronaldb66
04-13-2007, 09:04 AM
I can vaguely remember something about IE not showing the custom page if it is smaller than a certain size, but I don't remember what size or if it is even true. Oh, wait: Google! (http://support.microsoft.com/kb/294807) (Answer: 512 bytes).

Ranger56
04-13-2007, 10:42 AM
I added a bunch of comments into the file, jacking it up to almost 10K(heh) and IE still wont show it.

I turned off "Show friendly HTTP error messages" in IE, and it is now working. But, does anyone know what the default setting for this is?

_Aerospace_Eng_
04-13-2007, 10:54 AM
That seems to be the default. Can you show us what exactly you put in your .htaccess file?

Ranger56
04-15-2007, 05:44 AM
That seems to be the default. Can you show us what exactly you put in your .htaccess file?

order allow,deny

deny from 205.157.149.17
deny from 68.209.127.77
deny from 163.150.15.187
allow from all

ErrorDocument 404 /missing.html
ErrorDocument 403 /forbidden.html

_Aerospace_Eng_
04-15-2007, 05:31 PM
Hmm IE7 seems to abide by the 512 byte rule. IE6 doesn't though or maybe it doesn't on my system because its a standalone browser?

Ranger56
04-20-2007, 01:52 AM
I tested it in IE7 on windows



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum