Author Topic: RC 0.7 in an iframe  (Read 5007 times)

Offline andl

  • Newbie
  • *
  • Posts: 6
RC 0.7 in an iframe
« on: January 30, 2012, 09:55:32 AM »
Hi List,
i try to integrate rc0.7 in a portal. But following error appears when i open rc:
The content cannot be displayed. It is not allowed to show it in an iframe. (something like this)
Therefore i modified the configuration:
$rcmail_config['x_frame_options'] = 'false';
and the login-page of rc0.7 is displayed with following error:
Blocked: Possible Clickjacking attack!

Is there another switch i have to enable to display rc in an iframe, or what can i do to open RC in an portal-iframe?
Any Hints?

Kind regards,
Andl

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
RC 0.7 in an iframe
« Reply #1 on: January 31, 2012, 02:35:40 AM »
hi, try setting:
Code: [Select]
$rcmail_config['x_frame_options'] = false;not
Code: [Select]
$rcmail_config['x_frame_options'] = 'false';
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline andl

  • Newbie
  • *
  • Posts: 6
RC 0.7 in an iframe
« Reply #2 on: January 31, 2012, 02:53:59 AM »
Thanks John,
this was it. In IE Browser its fine. In FF and Opera it seems that the window is still loading but i can login.
Kind Regards
Andl
« Last Edit: January 31, 2012, 03:36:20 AM by andl »