.htaccess允许在iframe中为域拒绝

时间:2016-01-28 15:12:19

标签: php .htaccess

我在中尝试代码.htaccess 拒绝允许在 iframe 服务器apache 2.4中无法正常工作

<Files "iframe.php">
    Order Deny,Allow
    Deny from all
    Allow from xxxx.com
    Allow from 127.0.0.1
    Allow from xxx.yyy.zzz.aaa
    </Files>

    <Files "lihat.php">
    require all denied
    require host nontonindramaonline.com
    require ip 168.235.82.232
    </Files>

在iframe xxxx.com/iframe.html

中显示
Forbidden
You don't have permission to access /iframe.php on this server.

请帮助我和???

0 个答案:

没有答案