4

Possible Duplicate:
include after PHP 404 header returning “Oops! This link appears to be broken.”

I have a custom 404 page in Play! project. For some reason, I'm noticing that the 404 page appears on all browsers EXCEPT IE9--which just shows a default page not found for the browser. Is there any reason for this? Right now I have it implemented in the Global class in the default class path. So when the resource is not found, it forwards to the error page after reaching the handler not found function. Thanks!

Community
  • 1
  • 1
KVISH
  • 12,923
  • 17
  • 86
  • 162

1 Answers1

6

Your 404 page needs to be more than a certain size (For IE, IIRC it's 512 bytes) to be displayed instead of the default "page not found". See this question.

Community
  • 1
  • 1
Pekka
  • 442,112
  • 142
  • 972
  • 1,088