IIS6.0在站点级别为特定扩展启用Http压缩
我想使用 adsutil.vbs 在 IIS6.0 中启用 HttpCompression。据我所知,我可以为通用服务器级别以及 IIS 下的特定网站启用它。 (我使用了这个http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/502ef631-3695-4616-b268-cbe7cf1351ce.mspx?mfr=true 作为主要资源)..
但是我的问题不同。我想指定要压缩的扩展名(准确地说是 asmx)。这在网络服务器级别完全可行,但不知何故我无法理解,如何在站点级别设置它。这是必需的,因为在部署场景中,可能有多个 Web 应用程序托管在同一 IIS 下,并且除了我的应用程序之外,客户端对打开 asmx 压缩不感兴趣。
有人可以帮忙吗?
I want to enable HttpCompression in IIS6.0 using adsutil.vbs. I understand that i can enable it for generic server level as well as for a specific website under IIS. (I used this http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/502ef631-3695-4616-b268-cbe7cf1351ce.mspx?mfr=true as a primary resource)..
However my question is different. I want to specify the extensions (asmx to be precize) to be compressed. That's perfectly doable at the webserver level but somehow I am not able to understand, how can i set it up at the site level . This is required because, in a deployment scneario, there could be multiple web apps hosted under same IIS and client is not interested in turning on compression on asmx other than my app.
Can someone help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在进一步研究时,我发现了此资源,它解释了启用站点级别的压缩。
简而言之,步骤如下:
While researching further, I came across this resource which has explained about enabling the compression at site level.
In a nut shell here are the steps