Routing error in laravel -


i'm trying build web app in laravel 5.2 on windows platform wamp server installation.

i'm trying call dashboard page following routes:

route::get('nitsadmin/dashboard', function () {     return view('nitsadmin.dashboard'); }); 

following route list:

enter image description here

where file structure below:

enter image description here

my virtual host configuration in httd-vhosts.conf file:

<virtualhost *:80>     documentroot "c:\wamp\www\nitsedit\public"     servername nitseditor.dev </virtualhost> 

apache alias:

alias /nitseditor.dev "c:/wamp/www/nitsedit/public"   <directory "c:/wamp/www/nitsedit/public">     options indexes followsymlinks multiviews     allowoverride     order allow,deny     allow  </directory> 

don't know i'm getting problem i'm getting following error:

enter image description here

you have wrong web server configuration, point web server public directory in lararel project root , restart web server.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo