PHPEye开源社区 » PHP项目运营与系统管理 » 请教关于IIS 下 mod_rewrite问题
《Programming PHP》第二版上市
2007-10-27 21:08 quan.zhao
请教关于IIS 下 mod_rewrite问题

请教关于IIS 下 mod_rewrite问题


我在IIS下用mod_rewrite,

这样不可以访问
http://localhost/news/view/1

这样就可以访问了
http://localhost/index.php/news/view/1


请问这是什么原因呢?为什么一定要加上 index.php 呢?如何才能不要 index.php
谢谢各位

2007-10-29 09:05 quan.zhao
没有人会吗?


2007-10-29 15:24 samoay
正则表达式写法有问题,可以把rewrite的正则贴出来看看

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.