Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS UrlRewrite is not working for IIS 8

I have just moved my website to new computer which uses IIS 8 from one has IIS 7.5. All but URL rewriting is working well. there is no error message than "HTTP Error 404.0 - Not Found" which I got. What I've only recognized is, there is an entry like RewriteModule (%SystemRoot%\system32\inetsrv\rewrite.dll) in website>modules setting page but, IIS 8 one has no same module. Even though I added same module to IIS 8, It didn't work. I'll be glad if I can have some suggestion about how to solve the problem. More info could be provided upon request..

Hope I could expressed what i mean properly.!

Thanks in advance,

alper

ps: url rules work well..

like image 671
alper Avatar asked Jan 30 '13 15:01

alper


People also ask

How do I enable URL Rewrite in IIS 8?

First, open your IIS Manager and click on Default Web Site at the left panel. Double-click on the URL Rewrite module, as shown below, to add rewrite rules. 2. Next, click on Add Rule(s) option at the right panel, and a pop-up window appears where you'll select a rule template.

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 install URL Rewrite module in IIS Windows server?

You can use Microsoft Web Platform Installer to install URL Rewrite module. Alternatively, visit below URL and download this module and install it. After installation, you will find the URL Rewrite option under the HTTP features section in IIS settings.


2 Answers

first of all you have to check if rewrite url works well, follow this sample tutorial:

http://www.iis.net/learn/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules

If not, open IIS8 and check if URL rewrite icon is showing. If not download msi from here:

http://www.iis.net/downloads/microsoft/url-rewrite

and reinstall the module. Now you could see the URL Rewrite module in IIS manager while on the root node (Server node) as well as on website and web application nodes.

Hope it helps!

like image 166
Andrea Colabufalo Avatar answered Oct 01 '22 06:10

Andrea Colabufalo


goto IIS manager->server node->application request routing cache->server proxy setting->Check enable proxy checkbox.

like image 43
vahidsamimi Avatar answered Oct 01 '22 04:10

vahidsamimi