php - Laravel with simple routing -


hello i'm new here , i've been trying learn laravel have fallenat first hurdle. have searched answer , tried several suggestions nothing worked me. running wamp , have installed laravel composer. have routes.php file

route::get('/', 'welcomecontroller@index'); route::get('/home', 'homecontroller@home');   route::get('about', 'pagescontroller@about');  route::controllers([     'auth' => 'auth\authcontroller',     'password' => 'auth\passwordcontroller', ]); 

the welcome controller works fine it's other 2 404 not found error. help.

that's 404 error apache. need call page http://site/index.php/home. if want remove index.php url have to re-write url like this.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -