dimanche 20 septembre 2015

laravel 5 ,requested url was not found on this server?

I am trying to upload my laravel 5 project on Apache/2.4.7 (Ubuntu) Server at xxx.xx.x.xx Port 80.

When i browse my site using http://ift.tt/1KBKanx , landing page is working fine.

But when i tried to log in , it throws this error ,

The requested URL http://ift.tt/1Kob2pE was not found on this server.

but when i tried this http://ift.tt/1KBK8fj it throws View [app] not found.

I tried using RewriteBase on htaccess file also edited public/index.php file and changed these following lines...

require __DIR__.'/../bootstrap/autoload.php';
to require __DIR__.'/../project/public/bootstrap/autoload.php';

and

$app = require_once __DIR__.'/../bootstrap/app.php';

to $app = require_once __DIR__.'/../project/public/bootstrap/app.php';

nothing is working!!

I know this one is older topic but i didn't find solution.

Looking for your suggestions.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire