S
S
strify_252016-10-03 15:59:57
1C-Bitrix
strify_25, 2016-10-03 15:59:57

How to disable frame protection in Bitrix 11?

Hello! The site uses the old version of Bitrix (11). For the webvisor to work, you must disable frame protection or add exceptions. However, how to do this is described only for the new version https://dev.1c-bitrix.ru/learning/course/?COURSE_I...
In the old one, there is no "frame protection" menu item.
I also saw solutions with editing nginx files. Is it possible to somehow do without it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Saifullin, 2016-10-04
@Shapito27

remove from .htaccess (if SAMEORIGIN is set via htaccess)

<IfModule headers_module>
 Header set X-Content-Type-Options nosniff
 Header set X-Frame-Options SAMEORIGIN
</IfModule>

More info Does X-Frame-Options :SAMEORIGIN interfere with the Yandex Metrica webvisor?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question