标题: 请教关于IIS 下 mod_rewrite问题
quan.zhao
新手上路
Rank: 1



UID 146
精华 0
积分 0
帖子 11
翻译 0
原创 0
阅读权限 10
注册 2007-7-3
状态 离线
发表于 2007-10-27 21:08  资料  短消息  加为好友 
请教关于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
谢谢各位





http://www.xcopy.net.cn 网络收藏夹
顶部
quan.zhao
新手上路
Rank: 1



UID 146
精华 0
积分 0
帖子 11
翻译 0
原创 0
阅读权限 10
注册 2007-7-3
状态 离线
发表于 2007-10-29 09:05  资料  短消息  加为好友 
没有人会吗?






http://www.xcopy.net.cn 网络收藏夹
顶部
samoay
新手上路
Rank: 1



UID 420
精华 0
积分 0
帖子 14
翻译 0
原创 0
阅读权限 10
注册 2007-10-9
状态 离线
发表于 2007-10-29 15:24  资料  短消息  加为好友 
正则表达式写法有问题,可以把rewrite的正则贴出来看看

顶部
 


PHPEye社区--LAMP开源技术社区


当前时区 GMT+8, 现在时间是 2008-5-17 06:44

    Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
Processed in 0.015021 second(s), 6 queries , Gzip enabled

清除 Cookies - 联系我们 - PHPEye开源社区 - Archiver - WAP