关于uri not found 的问题,求解
我routes.php里面配置了$route['about/(:num)'] = 'about';$route['product/(:num)'] = 'product';$route['product/(:num)/(:any)'] = 'product'; 线上是可以访问到路径的,但是本地访问http://localhost/about路径的时候就会提示not found on this server ,是什么原因呢?是本地的php环境有问题吗?求解,谢谢!!
原来是apache不支持.htaccess的缘故,现在支持了,问题解决了!
页:
[1]