liusaupaup 发表于 2013-4-26 18:56:39

IIS-CodeIngniter route 不起作用

IIS7.5 部署了 CodeIngniter 的php 项目 在 routs 文件中定义了 以下 路由规则


$route['default_controller'] = "c/action";
$route['404_override'] = '';
$route['mm/:any'] = "c/action";

默认页(http:localhost )可以直接定位到 c/action
但是 http:localhost/mm 无法定位到 c/action

Hex 发表于 2013-4-26 20:02:34

mm/:any 必须是 mm/xxx 而不能是 mm
这是有区别的。。。

liusaupaup 发表于 2013-4-27 08:33:06

即使使用 mm/xxx也还是无法重定向
页: [1]
查看完整版本: IIS-CodeIngniter route 不起作用