[Xitami] Bug in HTTP error msg handling? But with "root" change?
Andris Kluga
xitami@lists.xitami.org
Tue, 28 Oct 2003 16:55:00 +0200
Hello!
Todd Greene wrote:
> I've installed the Windows version (i.e., not console,
> not NT service) on a Windows XP system, and it is
> Xitami v2.5b4 that I'm using.
Sorry, I don't use 2.5x and I have never used browser based
administration anytime therefore I cannot answer your questions about
error scripts.
[...]
But this one looks like a _FEATURE_ of MSIE.
> For example, with a 404 error, I
> simply get the default IE Explorer 404 HTTP error
> page.
Here is a fragment of error message source I have grabbed from one of
akamai.net servers:
<!--
-- Unfortunately, Microsoft has added a clever new
-- "feature" to Internet Explorer. If the text in
-- an error's message is "too small", specifically
-- less than 512 bytes, Internet Explorer returns
-- its own error message. Yes, you can turn that
-- off, but *surprise* it's pretty tricky to find
-- buried as a switch called "smart error
-- messages" That means, of course, that many of
-- Resin's error messages are censored by default.
-- And, of course, you'll be shocked to learn that
-- IIS always returns error messages that are long
-- enough to make Internet Explorer happy. The
-- workaround is pretty simple: pad the error
-- message with a big comment to push it over the
-- five hundred and twelve byte minimum. Of course,
-- that's exactly what you're reading right now.
-->
A.