How to Solve Laravel XAMPP dashboard redirect problem

How to Solve Laravel XAMPP dashboard redirect problem

Many time when you setup Laravel Framework on your computer you need to do profer installation of Laravel framework otherwise you will get lots of error before start a project. One of the common error occure after installing laravel framework. When you enter your project URL in browser you will redirect to and output looks like below image.

To fix this problem you need to do following changes step by step:
Step 1: Goto C://Xampp/apache/config/extra directory

Step 2: Open httpd-vhosts.conf file

Step 3: At bottom of this file Enter below Code
<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs/your_project_name/public/"
<Directory "C:/xampp/htdocs/your_project_name/public/">
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Require all granted
Note: Change your_project_name to your Laravel created project name

Step 4: Save This File and restart your Xampp Server 

Step 5: Now open file in your browser you will get Laravel default page as shown in below image

0 Response to "How to Solve Laravel XAMPP dashboard redirect problem"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel