i get a 403 when i browse to the root directory of my laravel project. When i go to root/public i do get a you have arrived message from the framework. But this isnt what is supposed to be right? How do i make my project so that when i go to the root i actually get into /public?
i have tried the following:
This is how my htaccess file looks like in in the root:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
You need to set DocumentRoot
properly in your Apache configuration. This is separate from the .htaccess
and it should point at the public
directory.