简体   繁体   English

启用IIS 8.0(Windows 8专业版)动态压缩

[英]Enabling IIS 8.0 (windows 8 pro) Dynamic Compression

Im having problems with compression under IIS 8 (Windows 8 Pro). 我在IIS 8(Windows 8 Pro)下遇到压缩问题。

It works fine in Windows 7 under IIS 7.5 but in Windows 8 Pro It doesnt work. 它在IIS 7.5下的Windows 7中工作正常,但在Windows 8 Pro中它不起作用。

After looking very deeply, I have compared the applicationHost config files (Windows 7 and Windows 8) and I found something interesting.... 看了很深,我比较了applicationHost配置文件(Windows 7和Windows 8),我发现了一些有趣的东西......

  1. In Windows 7 I have inside applicationHost under globalModules the tag <add name="DynamicCompressionModule" image="%windir%\\System32\\inetsrv\\compdyn.dll" /> and I found the file compdyn.dll inside System32\\inetsrv 在Windows 7中,我在globalModules下面的applicationHost中<add name="DynamicCompressionModule" image="%windir%\\System32\\inetsrv\\compdyn.dll" />了标签<add name="DynamicCompressionModule" image="%windir%\\System32\\inetsrv\\compdyn.dll" /> ,我在System32 \\ inetsrv中找到了compdyn.dll文件

  2. In Windows 8 I dont have that line in my applicationHost file under globalModules and the compdyn.dll is missing inside System32\\inetsrv 在Windows 8中,我在globalModules下的applicationHost文件中没有该行,并且System32 \\ inetsrv中缺少compdyn.dll

So actually Im sure that the issue, anyone know why Windows 8 Pro (IIS 8) doesnt come with that dll?? 所以实际上我确定这个问题,任何人都知道为什么Windows 8 Pro(IIS 8)没有附带那个DLL?

Is there something I have to do? 有什么我必须做的吗?

Thanks a lot and hope someone can help me. 非常感谢,希望有人能帮助我。

FIXED 固定

Simple Solution: Had to install the Dynamic Content Module for IIS and that's all. 简单的解决方案:必须为IIS安装动态内容模块,这就是全部。

You have to install the feature on the Windows 8 Pro machine. 您必须在Windows 8 Pro计算机上安装该功能。 From Start, type Programs and Features. 从“开始”,键入“程序和功能”。 Click on Turn Windows Features On or Off in the left hand column. 单击左侧列中的“打开或关闭Windows功能”。 Expand Internet Information Services/World Wide Web Services/Performance Features/. 展开Internet信息服务/万维网服务/性能功能/。 Place a checkmark by Dynamic Content Compression and click OK. 勾选动态内容压缩复选标记,然后单击“确定”。 The feature will be enabled and your site should work as long as all other features needed are installed. 只要安装了所需的所有其他功能,该功能就会启用并且您的站点应该可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM