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 https://test.dev you will redirect to https://test.dev/dashboard 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/"
    ServerName your_project_name.dev
<Directory "C:/xampp/htdocs/your_project_name/public/">
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Require all granted
</Directory>
</VirtualHost>
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 your_project_name.dev file in your browser you will get Laravel default page as shown in below image


How to Solve Laravel XAMPP dashboard redirect problem How to Solve Laravel XAMPP dashboard redirect problem Reviewed by Ganesh Garad on January 09, 2018 Rating: 5

No comments:

Powered by Blogger.