T
T
twixoff2015-01-16 21:16:42
PHP
twixoff, 2015-01-16 21:16:42

How to allow site display in frame for certain sites?

There is a site. It cannot be shown in frames on third-party resources.
BUT! Some need to be allowed. How to be?
Google did not please, or I did something wrong.
php/nginx+apache

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladislav, 2015-01-16
@MrBikus

Well, you can check where the request to get the site page came from, you can pull out information from $ _SERVER. You can dig into the NGINX config, maybe you can write a rule there.

R
red_led, 2015-01-16
@red_led

In nginx config:
Details here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question