views:

55

answers:

1

This site loads fine in Firefox, but in WebKit browsers (Safari and Google Chrome) it won't load the frame, and in Opera I get this error: "The Web site does not permit its content to be displayed in a frame. It must be displayed in a separate window.". I don't expect to be able to actually fix this, as I don't have control over the frames page (only the content of the frame), but my question is: why?

The content of the frame loads fine by itself, and saving the frames page and changing the src of the frame to http://w3.org/ loads fine. I did a bit of searching based on the Opera error, and it seemed to suggest it had to do with redirecting. That URL does indeed redirect, but if I change it to http://mini.milli.no/tonje/main (which doesn't redirect), it still doesn't work. Even Apache directory listings don't work - which to me suggests it's server related. But how can a server do that?

To be total clear, I'm using Mac OS X 10.6.3, and I tested with Safari 4.0.5, Chrome 5.0.375.55, Opera 10.53, and Firefox 3.6.3. Basically, the newest of all of those things currently.

A: 

The site sets the following header in the response

X-Frame-Options:SameOrigin

This is a relatively new header that has been added to prevent ClickJacking, see http://blogs.msdn.com/b/ie/archive/2009/01/27/ie8-security-part-vii-clickjacking-defenses.aspx for more info

Sijin
Oh cool, maybe I can fix it then! Thanks!
crimson_penguin
Yup, with that I searched and found this: http://osdir.com/ml/macos-x-server/2010-03/msg00173.html and the same thing worked for me.
crimson_penguin
Sweet! :) ........
Sijin