I don't understand this. I went to check my HTTP error pages with IE 9, but it isn't using my defined document..!
ErrorDocument 400 /error.php?id=400
ErrorDocument 401 /error.php?id=401
ErrorDocument 403 /error.php?id=403
ErrorDocument 404 /error.php?id=404
ErrorDocument 500 /error.php?id=500
All the other browsers are using error.php
, but IE 9 is using it's own HTTP error page!
First thing I did was make the document itself really simple, like this:
<html lang="en" dir="ltr">
<title> Error </title>
<p> Something went wrong. </p>
So, I thought maybe it was because I was using dynamic links, or something in the .htaccess was interfering.
This is absurd of course, the browser shouldn't know what's happening on the server. I made it as simple as I could:
ErrorDocument 404 /error404.htm
No luck, it was still not my page in IE 9, other browsers were fine. I changed it to a file that didn't exist:
ErrorDocument 404 /why.htm
The other browsers complain about a misconfiguration when I try to trigger a 404, but IE 9 still has it's own page.
Grr, does IE just ignore my .htaccess? That would be stupid.
This is my site via a non-existant page: http://www.zombli.net/nothing
. It's only a development zone, nothing pretty there at the moment.