小編: 萬網(wǎng)空間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里之后上傳網(wǎng)站根目錄既可?;蛘呦螺d我做好的。
web.zip
如非注明,文章均為石家莊SEO-十六站績所著,轉載請注明:http://m.735552.com/m/3.html


