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

Can you post the .htaccess file here?

Học Lập Trình Online

Last updated 2 years ago.
0
<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule>
RewriteEngine On

# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
Last updated 2 years ago.
0

any help ?

Last updated 2 years ago.
0

Your document root is not correct. Set the DocumentRoot for the site to include the /public folder so that when you hit the IP address (without the 'public'), the app loads.

Or, try modifying your current .htaccess file:

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

Sign in to participate in this thread!

Eventy

Your banner here too?

bc-wd bc-wd Joined 26 Jul 2014

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.