Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel4 : The requested resource /admin was not found on this server

Tags:

html

php

laravel

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

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

I can't route to "admin"

It works perfectly fine, if I choose a different name

And I get a real exception, if the route really does not exist.

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.

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

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

Any clues?

like image 606
LoveAndHappiness Avatar asked Jul 30 '14 08:07

LoveAndHappiness


1 Answers

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

like image 127
marko Avatar answered Sep 23 '22 01:09

marko