网址重写未安装在Windows 10 IIS 10上 [英] Url rewrite does not install on windows 10 IIS 10

查看:75
本文介绍了网址重写未安装在Windows 10 IIS 10上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在IIS上使用Url Rewrite模块,但是该模块没有安装,并说我至少需要IIS7

I need the Url Rewrite module on my IIS But it does not install and says that I need at least IIS7

推荐答案

由于花了我几个小时才发现问题,因此我将此解决方案发布到自己的答案中,这样可以节省其他人的工作.

Because it took me hours to find the problem, I am posting this solution to my own answer so it will save someone else this work.

简而言之,您必须在安装过程中通过注册表项HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\MajorVersion将IIS的主要版本更改为9,然后再更改为10.

In short you have to change the major version of the IIS via the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\MajorVersion to 9 during installation and then back to 10 afterwards.

解决方案来自: https://forums.iis.net/t/1223556.aspx

这篇关于网址重写未安装在Windows 10 IIS 10上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆