IIS UrlRewrite 不适用于 IIS 8 [英] IIS UrlRewrite is not working for IIS 8

查看:28
本文介绍了IIS UrlRewrite 不适用于 IIS 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将我的网站移到了使用 IIS 8 的新计算机上,而其中一台计算机是 IIS 7.5.除了 URL 重写之外,其他一切都运行良好.除了我收到的 HTTP Error 404.0 - Not Found" 之外,没有其他错误消息.我只承认,在网站>模块设置页面中有一个类似于 RewriteModule (%SystemRoot%system32inetsrv ewrite.dll) 的条目,但是,IIS 8 没有相同的模块.即使我向 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%system32inetsrv ewrite.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.!

提前致谢,

阿尔珀

ps:网址规则运行良好..

ps: url rules work well..

推荐答案

首先你要检查重写 url 是否工作正常,按照这个示例教程:

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

如果没有,请打开 IIS8 并检查 URL 重写图标是否显示.如果没有从这里下载 msi:

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

并重新安装模块.现在您可以在根节点(服务器节点)以及网站和 Web 应用程序节点上看到 IIS 管理器中的 URL 重写模块.

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.

希望能帮到你!

这篇关于IIS UrlRewrite 不适用于 IIS 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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