小编: 万网空间ii7的Vary HTTP标头应该怎么写?
上一篇文章写的是ii6.0代码适配怎么添加Vary HTTP标头 那么ii7的Vary HTTP标头应该怎么写呢?
代码如下
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="Vary" value="User-Agent" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
直接添加在web.config里之后上传网站根目录既可。或者下载我做好的。
web.zip
如非注明,文章均为石家庄SEO-十六站绩所著,转载请注明:http://www.zhaoyasai.com/m/3.html


