Search Results for '404'

1 POSTS

  1. 2013.04.18 IE에서 Custom Error Page (404같은) 가 나오지 않는 이유

Spring에서 Custom Error Page를 만들어 테스트 하는데, Chrome에서는 정상적으로 표시가 되는데, IE에서만 나오지 않아서 찾아봤습니다.

 

이유는 Custom Error Page 크기가 너무 작아서라는 군요.

 

 

Custom error page 의 최소 크기는 다음과 같습니다.

 

* 512Bytes이상이어야 하는 페이지

 

400 Bad Request

404 Not Found

406 Not Acceptable
408 Request Time-out
409 Conflict
500 Internal Server Error
501 Not Implemented
505 HTTP Version Not Supported

 

 

* 256Bytes 이상이어야 하는 페이지

 

403 Forbidden

405 Method Not Allowed
410 Gone

 

다음은 Wikipedia에 나온 Custom error page에 대한 내용입니다.

 

Web servers can typically be configured to display a customised 404 error page, including a more natural description, the parent site's branding, and sometimes a site map, a search form or 404 page widget. The protocol level phrase, which is hidden from the user, is rarely customized.

Internet Explorer, however, will not display custom pages unless they are larger than 512 bytes, opting instead to display a "friendly" error page.[3] Google Chrome includes similar functionality, where the 404 is replaced with alternative suggestions generated by Google algorithms, if the page is under 512 bytes in size.[citation needed]. This is a violation of RFC 2616, which states that "user agents SHOULD display any included entity to the user".

Another problem is that if the page does not provide a favicon, and a separate custom 404 page exists, extra traffic and longer loading times will be generated.[4][5]