IIS Express 上的 ISAPI 重写

发布于 2024-10-10 18:33:36 字数 244 浏览 0 评论 0原文

随着 Visual Studio 2010 SP1 和 IIS Express 的发布,我们希望在其上运行 asp.net 3.5 网站,而不是在本地开发计算机上运行 iis5 实例。

除了使用 ISAPI 重写的 url 重写规则外,我们所有的代码都运行良好。我们选择 ISAPI_Rewrite 3,因为它与 apache .htaccess 文件非常相似。

我们如何将 ISAPI Rewrite 与 iis express 一起使用?

With the release of Visual Studio 2010 SP1 and IIS Express we want to run our asp.net 3.5 websites on that instead of our iis5 instance on our local developement machines.

All of our code runs fine except for our url rewrite rules using ISAPI Rewrite. We choose ISAPI_Rewrite 3 because it's very similar to an apache .htaccess file.

How can we use ISAPI Rewrite with iis express?

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

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

发布评论

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

评论(2

隔纱相望 2024-10-17 18:33:36

您必须按照 ISAPI Rewrite 修改常规 IIS applicationHost.config 的相同方式修改 IIS Express applicationHost.config。通常,将修改模块/处理程序部分。了解 ISAPI Rewrite 对常规配置所做的更改(只需在安装前后进行比较)并在此位置修改 IIS Express 配置:**<用户文件夹>\Documents\IISExpress\config\applicationHost.config **

You have to modify IIS Express applicationHost.config in the same way ISAPI Rewrite modifies the regular IIS applicationHost.config. Usually it will be a module/handlers sections that will get modify. Find out what changes ISAPI Rewrite makes to the regular config (just diff it before and after the installation) and modify IIS Express config at this location: **<user folder>\Documents\IISExpress\config\applicationHost.config**

猫烠⑼条掵仅有一顆心 2024-10-17 18:33:36

来自 Helicon 技术团队的直接消息:不支持 IIS Express。

我们会觉得很臭。

Direct from the Helicon Tech team: IIS Express isn't supported.

We'll that stinks.

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