本来的iframe是这样:
a.com的页面index.html
<iframe src="http://b.com/content.html" />
在a.com的web服务器里面配置反向代理
ProxyPass /b http://b.com
ProxyPassReverse /b http://b.com
于是,在index.html里面的iframe就成了这样
<iframe src="b/content.html" />
今天看到有这样的方法解决夸域问题,有空试试
本来的iframe是这样:
a.com的页面index.html
<iframe src="http://b.com/content.html" />
在a.com的web服务器里面配置反向代理
ProxyPass /b http://b.com
ProxyPassReverse /b http://b.com
于是,在index.html里面的iframe就成了这样
<iframe src="b/content.html" />
今天看到有这样的方法解决夸域问题,有空试试