
我正在使用一个名为哈罗基于 codeignitor 构建,但无法弄清楚如何让它在 IIS 中正常工作。我认为这与 Apache 的重写有关(在 Apache 上运行良好)以下是 .htacess 文件内容
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1 [L]
希望有人可以将其转换为 IIS 的配置文件,谢谢大家。