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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM