.htaccess 或 .htpasswd 在 IIS 上等效吗? [英] .htaccess or .htpasswd equivalent on IIS?
问题描述
有谁知道 IIS 是否有等效于 .htaccess 和 .htpassword 的文件?我被要求将一个应用程序迁移到 IIS,该应用程序使用 .htaccess 来控制对基于 .htaccess 文件内容的各种 URL 中的文件集的访问.
Does anyone know if there is an equivalent to .htaccess and .htpassword for IIS ? I am being asked to migrate an app to IIS that uses .htaccess to control access to sets of files in various URLs based on the contents of .htaccess files.
我用谷歌搜索了一下,没有找到任何结论.是否有我需要购买的通用方法或工具来提供此功能?
I did a google search and didn't turn up anything conclusive. Is there a general approach or tool that I need to purchase that provides this capability ?
推荐答案
对于 .htaccess 重写:http://learn.iis.net/page.aspx/557/translate-htaccess-content-to-iis-webconfig/
For .htaccess rewrite: http://learn.iis.net/page.aspx/557/translate-htaccess-content-to-iis-webconfig/
或者尝试 aping .htaccess:http://www.helicontech.com/ape/
Or try aping .htaccess: http://www.helicontech.com/ape/
这篇关于.htaccess 或 .htpasswd 在 IIS 上等效吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!