1、打開注冊表編輯器> HKEY_LOCAL_MACHINE SOFTWARE Microsoft InetStp
2、編輯“MajorVersion”並以十進制設置數值數據值為9
3、在注冊表編輯器中按F5刷新
4、現在可以安裝ReWrite 2.0模塊。
5、重新將“MajorVersion”以十進制設置回數值數據值為10
6、在注冊表編輯器中按F5刷新
7、關閉注冊表編輯器
重啟IIS即可
IIS 10 安裝URLRewrite組件 方式
1、Open Regedit > HKEY_LOCAL_MACHINESOFTWAREMicrosoftInetStp
2、Edit "MajorVersion" and set the "DECIMAL" value to 9
3、Hit F5 while in Regedit
4、Now go install the ReWrite 2.0 module.
5、Change the "MajorVersion" back to "DECIMAL" value of 10
6、Hit F5 while in Regedit
7、Close Regedit
或者安裝在當前頁面下載對應版本安裝
https://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads
Download URL Rewrite Module 2.1
English: Web Platform Installer (WebPI) / x86 installer / x64 installer
German: x86 installer / x64 installer
Spanish: x86 installer / x64 installer
French: x86 installer / x64 installer
Italian: x86 installer / x64 installer
Japanese: x86 installer / x64 installer
Korean: x86 installer / x64 installer
Russian: x86 installer / x64 installer
Chinese Simplified: x86 installer / x64 installer
Chinese Traditional: x86 installer / x64 installer
- IIS安裝 URL Rewrite Module 2.1
- 短地址http://www.iis.net/extensions/URLRewrite
- 下載頁面https://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads
- 下載鏈接https://download.microsoft.com/download/1/2/8/128E2E22-C1B9-44A4-BE2A-5859ED1D4592/rewrite_amd64_en-US.msi
- https://download.microsoft.com/download/1/2/8/128E2E22-C1B9-44A4-BE2A-5859ED1D4592/rewrite_amd64_zh-CN.msi