我正试着用壁画展示一个iframe,但给了我错误
拒绝在框架中显示“url”,因为它将“X框架选项”设置为“SAMEORIGIN”。
我遵循本教程:阿菲罗
我修改了共享安全-config.xml,
<config evaluator="string-compare" condition="SecurityHeadersPolicy">
<headers>
<header>
<name>X-Frame-Options</name>
<enabled>false</enabled>
</header>
</headers>还有这个
<config evaluator="string-compare" condition="IFramePolicy" replace="true">
<same-domain>allow</same-domain>
<cross-domain>
<url>http://mytrustdomain.com/</url>
</cross-domain>
</config>但是还是给了我同样的错误,可以是Alfresco没有刷新配置文件还是会出现什么问题?
发布于 2016-09-15 08:51:10
通常,您需要从Al新鲜you修改一些文件,需要重新启动服务器,停止tomcat服务并重新启动。
如果tomcat没有停止,您将不会看到更改、快速解决方案、重置服务器,另一个解决方案是:
Windows:tasklist获取PID,然后得到TASKKILL /f /PID x
Linux:ps -ef | grep tomcat然后kill -9 PID
https://stackoverflow.com/questions/39489820
复制相似问题