TP5动态路由配置好了但是报错was not found on this server的原因以及解决方法
问题:The requested URL /xxxx.html was not found on this server
原因:apache的重写未开启,开启重写后,问题解决,
方法如下:
1 apache 打开 httpd.conf 文件 找到AllowOverride None 改为 AllowOverride All
原因:apache的重写未开启,开启重写后,问题解决,
方法如下:
1 apache 打开 httpd.conf 文件 找到AllowOverride None 改为 AllowOverride All