IIS 7 中的 ISAPI_Rewrite

发布于 2024-07-08 12:06:03 字数 404 浏览 5 评论 0原文

我一直在使用 Helicon 的 ISAPI_Rewrite (http://www.helicontech.com/isapi_rewrite/)在 Server 2003 机器上使用多年,并且一直很幸运。

我正在将 2003 机器上的所有站点迁移到新的闪亮的 Server 2008 机器上。 我不想购买新的许可证,而且我听说 IIS 7 将具有内置功能。

所有重写都在 .htaccess 配置文件中设置,就像 Apache 的 mod_rewrite 一样。

有谁知道此功能是否已融入 IIS 7 中,如果是的话,您知道有什么好的文章解释如何启用它吗?

谢谢。

I've been using ISAPI_Rewrite from Helicon (http://www.helicontech.com/isapi_rewrite/) on a Server 2003 box for years and have always had good luck with it.

I'm migrating all the sites on the 2003 box to a new shiny Server 2008 box. I would prefer to not purchase a new license and I have heard that IIS 7 will have capability built in.

All the rewrites are setup in a .htaccess configuration file just like mod_rewrite for Apache.

Does anyone know if this capability ever got baked into IIS 7 and if so do you know of any good articles that explain how to get it all enabled?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

抹茶夏天i‖ 2024-07-15 12:06:03

正如您提到的,IIS7 确实具有内置功能。 您可以使用自定义 HttpModule,如 提示/技巧:使用 ASP.NET 重写 URL

或者,您可以安装 IIS7 重写模块此处所述

IIS7 does have the functionality built in, as you mentioned. You can either use a custom HttpModule, as described in Tip/Trick: Url Rewriting with ASP.NET.

Alternatively, you could install the the IIS7 Rewrite Module as described here.

Spring初心 2024-07-15 12:06:03

是的,请查看 IIS 7 URL 重写模块

Yes, check out the IIS 7 URL Rewrite Module.

风透绣罗衣 2024-07-15 12:06:03

在安装应用程序请求路由器 (ARR) IIS 扩展及其所有依赖项之前,它不是内置的,您必须按特定顺序执行这些操作:

  1. Web Farm 框架模块。
  2. 外部缓存模块。
  3. URL重写模块。

然后是ARR模块。

每个都需要从 download.microsoft.com 单独下载,但全部都是免费的。

参考:https://blogs. technet.microsoft.com/erezs_iis_blog/2013/11/27/installing-arr-manually-without-webpi/

It isn't built-in until you install the Application Request Router (ARR) IIS Extension, and all of its dependencies, which you have to do in a specific order:

  1. Web Farm Framework module.
  2. External cache module.
  3. URL Rewrite module.

Then the ARR module.

Each requires a separate download from download.microsoft.com, but all are free.

Reference: https://blogs.technet.microsoft.com/erezs_iis_blog/2013/11/27/installing-arr-manually-without-webpi/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文