Robert Baruch wrote:

> Basically, I've taken the default install of 4.1.31 on Windows. The 
> only difference from default is that I've installed in D:/Tomcat 4.1.31

Not related to your question, but spaces in path names involving
Tomcat are a Bad Idea; check the archives for confirmation :-)

> The problem appears to be that the file_not_found.html page is 
> returned, but with an HTTP 404 status code. I'd like an HTTP 200  status
> code (OK) to be returned.

Again, not related, but this is also a Bad Idea; it subverts the
reasons for having meaningful headers, and will prevent your using
an automated link checker on your app -- which will cheerfully tell
you that "everything's fine! got all response code 200s from all of
your site links; no problems". Yeah. Have a nice day :-)

> The issue is that when I pull up firefox and try to go to a page that 
> doesn't exist, such as http://127.0.0.1:8080/nonono, I do get my  page.
> But when I pull up IE, the browser is showing its default 404  "The page
> cannot be found" page. I'd just like to see my error text.
> 
> Any ideas on how to do this?

1) uncheck the default IE setting (Internet Options -> Advanced ->
   'Show friendly HTTP error messages') that controls this.
2) make your 404 error message large enough to convince IE it's a
   real page. :-)

   google[ "Internet Explorer" "custom 404" size ] ->

<http://www.404-error-page.com/404-error-page-too-short-problem-microsoft-ie.shtml>


HTH,
-- 
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                          dream.  code.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to