开发者

.htaccess file and linux server

Do .htaccess files only work on Linux servers? I am w开发者_StackOverfloworking in ASP.Net.

If it doesn't work with ASP, then what is the alternative solution?


ASP.NET production deployment happens over IIS (web server from MS) - IIS has its own authorization mechanism. See this link for translating htaccess into equivalent IIS configuration: http://learn.iis.net/page.aspx/557/translate-htaccess-content-to-iis-webconfig/

Alternately, you can also use commercial products such as Helicon Ape that provides IIS Add-on that will support Apache .htacces and .htpasswd files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜