Support the ongoing development of Laravel.io →
Configuration Requests
Last updated 2 years ago.
0

Hi, why not use "php artisan serve" instead of accessing the project public folder directly?

if you prefer doing that, go to public/.htaccess and paste this code

Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.

© 2024 Laravel.io - All rights reserved.