Url rewrite does not install on windows 10 IIS 10

放肆的年华 提交于 2019-12-02 20:01:03

the newer version supports win10 out of the box: https://www.microsoft.com/en-us/download/details.aspx?id=47337

Boas Enkler

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.

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.

Solution is from: https://forums.iis.net/t/1223556.aspx

I found the downloads at the bottom for 2.1 work without any registry hacks: https://www.iis.net/downloads/microsoft/url-rewrite

I would prefer this as an option you can select from the roles, but who knows...

user3553260

Additionally, entering your username and password in the "Specific user: " field found in Default Web Site --> Right click Virtual Database Folder --> Advanced settings --> Physical Path Credentials --> Specific user: helped me like in this link that helped me as well. The top answer after following these directions from this forum and the original forum provided in the hyperlink helped me get my local host directory to work.

Issue: For me the link provide, failed to install URl Rewrite 2.1 on windows server 2016, IIS 10.0

Fix: Instead of this i have followed below steps which works perfectly.

Link: Microsoft URL Rewrite Module 2.0 for IIS (x64)

After installing it you will notice a new icon in IIS for URL Rewrite:

and you will be able to use rewrite tag in your web.config

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!