赞
踩
kylin version 2.6.6
vim tomcat/conf/web.xml
加入关于X-Frame-Options的filter配置,从而允许跨域的iframe的请求。
<filter>
<filter-name>httpHeaderSecurity</filter-name>
<filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
<async-supported>true</async-supported>
<init-param>
<param-name>antiClickJackingOption</param-name>
<param-value>ALLOW-FROM</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>httpHeaderSecurity</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。