Url重写不适用于IIS中托管的php mvc网站

时间:2016-02-16 06:50:42

标签: php codeigniter iis model-view-controller url-rewriting

我在iis配置了PHP mvc网站 网站网址为http://abc.def.com/workingdir/index.php 我为链接提供了href =“Steps”,因此工作网址应为http://abc.def.com/workingdir/steps

但它给我404找不到错误。

当我手动输入http://abc.def.com/workingdir/index.php/steps

或者给href =“index.php / steps”它运行正常。但我不需要URL中的index.php 只需点击http://abc.def.com/workingdir/steps

链接即可轻松访问

请指导。

非常感谢,

0 个答案:

没有答案