代码
Quote
'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
'tag/<tag>'=>'post/list',
'posts'=>'post/list',
'post/<id:\d+>'=>'post/show',
'post/update/<id:\d+>'=>'post/update',
'contact'=>'/site/contact'
),
),</div></div>
http://sf.com/contact 这样是可以访问的,但是链接上还有 index.php 点链接又会出现index.php/site/contact
请问这个怎么解决 ?