Support the ongoing development of Laravel.io →
Requests Views Installation

Hello, I just started learning Laravel from this series: https://laracasts.com/series/laravel-5-from-scratch/episodes/2

I use windows 10 with Wamp.

My site sits under: sites/highland.lar

I created the virtual host.

The route has this code: Route::get('/', function () { return view('welcome'); });

When I go to: http::highland.lar I get the page: Index of/ instead of the Welcome.blade.php view.

I added an index.php file to the root folder to test, and this file works fine.

What am I doing wrong?

Last updated 2 years ago.
0

Solved this problem with this link: [http://tutsnare.com/remove-public-from-url-laravel/]http://tutsnare.com/remove-public-from-url-laravel/

0

Sign in to participate in this thread!

Eventy

Your banner here too?

SigalZ sigalz Joined 5 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.