Laravel Project Shows index of /

If you’re trying to reach your site and it shows an index of / thereafter listing all the directories in your root folder in a tree format rather than displaying the website, the problem is with your host file, and here is a fix for you. I had this issue while trying to set up a Laravel project on Laragon.

Official Laragon Website

Laravel Project Shows index of image

Solutions if you’re using Laragon

  1. Clean all auto virtual host (Menu > Apache > sites-enabled > Delete all [auto]) and reload Apache
Laravel-Project-Shows-index-of-laragon.jpg

Laravel Project Shows index of /. If the solution above did not work for you, the alternative solution is to switch to using nginx

How to switch to nginx

  • Click on Menu > Preferences > Services & Ports
  • Deselect Apache and select Nginx

All you need to know about Loans | Best Loans offers android BBN 2021 Best Laravel Guide | Code Best vue.js tutorials || Latest Practical Vue Js Tutorials Covid-19 Cross River News Update | Novel Coronavirus Dating Dell Drones earn fce obudu insurance iphones istagram JAMB laptops Laragon Laravel Tutorials Simple to Advance Latest Amazon Technologies || List of all Amazon Technologies Latest Educational News Latest Job Opportunities News | All Recruitment News latest news from Google | Browse Google latest info Latest Technology News || Trending Technologies Latest Waec News and Info Microsoft MS Word neco Netflix Nigeria Civil Defence Nigeria Customs Service Nigeria Examinations News npower nysc news scholarships syllabus Trailers Windows 10 Windows 11

See Also

WordPress – Unexpected response from the server Fixed

Setup Homestead on Windows – Step by Step guide

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button