url已经重写,但翻页的时候还是有index.php呢

浏览:515 发布日期:2014/07/22 分类:求助交流 关键字: url
请问下我把url地址已经重写了为什么框架自带的翻页还是会生成:

http://localhost/index.php/Home/Index/item_list/p/2.html

这个地址呢

而不是http://localhost/Home/Index/item_list/p/2.html呢

这是我重写规则
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
最佳答案
评论( 相关
后面还有条评论,点击查看>>