【发布时间】:2012-07-25 10:33:15
【问题描述】:
我想将.htaccess 文件转换为web.config。
这里是代码
AddType application/x-httpd-php .html
RewriteEngine on
RewriteBase /
RewriteCond %{Request_Filename} !-d
RewriteCond %{Request_Filenam}e !-f
RewriteRule ^pages/([0-9A-Za-z_\-~',]+) page_details.html?category_page_title=$1 [NC]
谁能帮我把这个 .htaccess 文件转换成 web.config 文件。
提前致谢。
【问题讨论】:
-
如果您尝试过这一点,哪怕只是一点点,那就太好了。我们在这里非常尊重努力,即使它是错误的或被误导的。即使对IIS UrlRewrite 文档进行最简短的扫描,您也会看到此链接:learn.iis.net/page.aspx/470/importing-apache-modrewrite-rules,或者可能通过单击 IIS UrlRewrite 功能 RHS 操作面板中的帮助按钮。即使导入不能正常工作,我们也非常欢迎帮助解决这个问题,因为现在我们有一些工作要做。谢谢。
标签: php .htaccess iis web-config