Yii Framework Forum: 关于Site路由规则, - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

关于Site路由规则, Rate Topic: -----

#1 User is offline   morven 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 28-February 13

Posted 22 April 2013 - 04:47 AM

我的路由规则是:
'<controller:\w+>'=>'/home/<controller>',
'product/<action:\w+>'=>'/home/product/<action>',


为什么第一个/product/是正常的
第二个/product/list/id/8就不能访问!

谁能告诉我为什么
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users