为什么我在地址栏访问默认的路由没有问题 很正常,但是一旦访问自定义的路由就出现404报错:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
www.book.com
Apache/2.4.18 (Unix) OpenSSL/1.0.2f PHP/7.0.2 mod_perl/2.0.8-dev Perl/v5.16.3
路由对应的控制器写上了吗?路径是否有错呢?