Laravel4:在此服务器上找不到请求的资源/admin [英] Laravel4 : The requested resource /admin was not found on this server

查看:229
本文介绍了Laravel4:在此服务器上找不到请求的资源/admin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用简单的Laravel路由存在一个非常奇怪的问题.

there is a very weird problem I face with simple Laravel routing.

由于有一些屏幕截图,所以有时要说1000多个单词.这就是我所遇到的.

Because some screenshots, say sometimes more than 1000 words. Here is what I am encountering.

没有关系,是否在laravel中设置了路线.它只是不接受名称"admin",而仅接受"admin".其他所有名称均正确路由.

It doesn't matter, if the route is set in laravel or not. It just won't accept the name "admin" and only "admin". Every other name is routed correctly.

无法解释这一点.而且不想重新安装laravel.

Can't explain this. And wouldn't want to make a fresh laravel installation.

我不使用appache,因为"php artisan服务"为我完成了工作.

I don't use appache, because "php artisan serve" does the job for me.

有任何线索吗?

推荐答案

在公开场合下,您可能有一个名为admin的文件夹.那可能是您问题的根源.

It may that under public you have a folder named admin. That can be source of your problems.

这篇关于Laravel4:在此服务器上找不到请求的资源/admin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆