Iframe X-Frame-Options: Sameorigin snafu

Sez Chrome... and every other browser

Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://domain.net" from accessing a frame with origin "http://webmail.domain.net"

 

It really sucks that I can't display my own subdomain in an iframe on my own domain.  Who comes up with this shit?  Excuse me while I go clickjack my own website

 

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 12 Aug 2014

Stop setting the header then?

https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options

so much to do....
Quote · 12 Aug 2014

 RE

Stop setting the header then?

https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options

 If I could figure out how to stop sending the fckn header, I would.  Nice link, but I've looked at that on a hundred times already.  It tells you how to send the damn header... not how to stop it.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 12 Aug 2014

 

not how to stop it

it tells you how to make cake, is it necessary for it to tell you how to eat one?

Just find the place where the header is being set and remove it. Whats on that sub domain anyway? If its application level, search for the string "x-frame-options" otherwise look into your host files of apache/nginx

so much to do....
Quote · 12 Aug 2014

RE: it tells you how to make cake, is it necessary for it to tell you how to eat one?

That's the problem.  The cake has been baked, and I'm forced to eat it.  I need to 'unbake' the cake and make something different.

look into your host files of apache/nginx

 I've done that a hundred times.  The subdomain is roundcube email installed by Plesk 12.0.18, CentOS 6.5, PHP 5.3.3

If it were something in a conf file, I would have found it by now. 

 

RE: Just find the place where the header is being set and remove it??  Gee... why didn't I think of that?  Hmmm.. I wonder where the fckn thing is.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 12 Aug 2014

LOL< Why don't you tell us how you really feel?

Fckn A!

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 12 Aug 2014

As it turned out, it had nothing to do with server configuration. Stupid fckn owncloud and their stupid shit in /lib/private/response.php

Break time. For some strange reason, I feel like baking a chocolate cake.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 12 Aug 2014

Anyway, the coder of the Roundcube plugin for ownCloud is trying to figure out how he's going to make his app work when RC is a subdomain install.  Time to go find something else that's AFU.... shouldn't be hard around here.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 12 Aug 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.