Please help me, I\'m working on a Laravel using the latest version of xampp & do not know what the cause of my problem is.
This route is working fine:
Add this to your httpd.vhosts file
<VirtualHost test.loc:80>
ServerName test.loc
DocumentRoot "C:/xampp/apps/test.loc/public"
<Directory "C:/xampp/apps/test.loc/public">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
I faced exactly the same problem, but finally this worked for me.
.....
<Directory "C:/xampp/apps/test.loc/public">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
Have you tried adding a slash before the name? like this:
Route::get('/about', function () {
return 'aaa';
});