|
http://127.0.0.1:8080/CICODE/flight-information/real-time-flight-information/arrival 这个地址可以正常访问。
http://127.0.0.1:8080/CICODE/flight-information/real-time-flight-information/arrival.html 但是我加后缀,则访问出现404的错误
有什么办法加上后缀也不会出现错误呢?
下面的2个规则无法$route['flight-information/real-time-flight-information/arrival']='index';
$route['(en-us|zh-cn|zh-tw|ja|ko|pt-pt)']='index'; $route['(en-us|zh-cn|zh-tw|ja|ko|pt-pt)/(:any)']='$2'; $route['404_override']=''; $route['default_controller']='index';
|
|