Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Url rewrite does not install on windows 10 IIS 10

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

like image 855
Boas Enkler Avatar asked Feb 10 '16 15:02

Boas Enkler


People also ask

How do I fix the URL Rewrite module in IIS?

IIS Rewrite Module ProblemUninstall the Rewrite Module from Windows Features. Go to the Web Platform Installer. Pick Url Rewrite from Products | Server section and install. Restart IIS.

How do you check URL Rewrite is installed IIS?

Checking if the URL Rewrite module is installed To see if the URL Rewrite module is installed, open IIS Manager and look in the IIS group - if the module is installed, an icon named URL Rewrite will be present.


3 Answers

the newer version supports win10 out of the box: https://www.iis.net/downloads/microsoft/url-rewrite

like image 99
Pelister Avatar answered Oct 17 '22 00:10

Pelister


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 enter image description here

like image 22
Boas Enkler Avatar answered Oct 17 '22 01:10

Boas Enkler


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...

like image 30
Luke Duddridge Avatar answered Oct 17 '22 00:10

Luke Duddridge