I configured this & nbsp; and directly jumped to the custom empty controller. based on the following rule thinphp 3.2 dynamic routing rules, please help me see what went wrong.
Normal access address
Http: // localhost/index. php/Home/Picture/contentPic/id/16.html
The address of the route
Http: // localhost/index. php/Home/16.html
I directly jumped to the custom empty controller with this configuration.
According to the following rules
// Enable routing
'URL _ ROUTER_ON '=> true,
/* Dynamic routing */
'URL _ ROUTE_RULES '=> array (
'Home/: id \ d.html '=> "/Picture/contentPic/id/: 1 ",
),
The url mode is also a normal route. there is no problem with logon registration.
'URL _ model' => 1, // URL access mode. optional parameters: 0, 1, 2, and 3, which represent the following four modes:
// 0 (normal mode); 1 (PATHINFO mode); 2 (REWRITE mode); 3 (compatible mode): PATHINFO mode by default
Thank you for your understanding ~
------ Solution ----------------------
Where can the current tracing method jump?