500.html not being returned to IE

When I access a “broken” page on my site, most browsers display my
500.html file found in the RAILS_ROOT/public folder. However, Internet
Explorer always shows its own default “The page cannot be displayed”
error rather than showing the custom page I made. It works fine in
Firefox, Safari, etc. Any suggestions?

I’m running rails 1.2.3 on mongrel+apache2.2.

When I access a “broken” page on my site, most browsers display my
500.html file found in the RAILS_ROOT/public folder. However, Internet
Explorer always shows its own default “The page cannot be displayed”
error rather than showing the custom page I made. It works fine in
Firefox, Safari, etc. Any suggestions?

I’m running rails 1.2.3 on mongrel+apache2.2.

How big is your 500.html page (in bytes)? I seem to recall that IE will
show it’s own error page if the custom page isn’t big enough… and I
remember that just adding a bunch of blank spaces would do the trick.

Don’t remember how big it has to be though, but I don’t think it was
much.

-philip

409 bytes. I’ll try to pad it and see what happens. Thanks!

Looks like internet explorer ignores any custom error pages which are
less than 512 bytes. Thanks!!