Forum Discussion
Webtop portal in an iFrame
I'd link to bump this post, as i've got kind of the same problem. My customer likes to embed the webtop (by using a iFrame) in his own portal. (Said portal is hosted on the same F5 units, under the same dns domain by the way.)
I managed to clear most of the webtop's default layout using the advanced customization mode, and even disabled the 'framekiller' javascript line below in 'login.inc'.
`(if(self != top) { top.location = self.location; })`
Unfortunately the webtop also sends a HTTP header "X-Frame-Options" with a value of "DENY", which prevents the browser from loading the webtop in a iFrame. I tried replacing the header with a iRule, but for some strange reason that won't work either 😞
when HTTP_RESPONSE {
HTTP::header replace "X-Frame-Options" "SAMEORIGIN"
}
This just adds another X-Frame-Options header with a value of "SAMEORIGIN" and does not replace the exsisting ...
So, i am wondering, is there a specific reason why a webtop cannot be used in a iframe? Has anyone managed to load a webtop in a (i)frame ?
Thanx, Remco.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com