2016-10-28 26 views
0

当我用http://localhost:8081/paymentclone/public/访问路径,它给我的欢迎信息,但是当我试图访问我的登录页面http://localhost:8081/paymentclone/public/authentication/login它显示RouteCollection.php线NotFoundHttpException 145:不能除了首页的laravel 5

,并有在http://localhost:8000/authentication/login上使用它,它工作正常。

+0

只要尝试像,通过'http://本地主机:8081/paymentclone /公/ index.php文件/认证/ login' –

+0

谢谢。它已经工作。但在网上托管时我需要重写吗? –

+0

嗯是的。我们可以在htaccess中重写。 –

回答

0
+0

如何从http:// localhost:8081/paymentclone/public/index.php/authenti cation/login中删除index.php并仍然访问像http:// localhost这样的url :8081/paymentclone/public/authenti cation/login –

+0

见上面评论..工作与否???? –