Enable framing for your domain

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

If you want to embed Live Helper Chat in a different domain, you will need to configure Apache to set up the proper value for the header “X-Frame-Options”.

Just edit the installdir/apache2/conf/httpd.conf file with the following content:

<IfModule headers_module>
    <IfVersion >= 2.4.7 >
        Header always setifempty X-Frame-Options ALLOW-FROM http://DOMAIN.COM
    <IfVersion < 2.4.7 >
        Header always merge X-Frame-Options ALLOW-FROM http://DOMAIN.COM

Note that we have replaced the more restrictive SAMEORIGIN by ALLOW-FROM, so that the only the specified domain (DOMAIN.COM) will be able to embed Live Helper Chat.

Last modification April 8, 2020