Answer the question
In order to leave comments, you need to log in
Why can't I get laravel to look in the public folder?
Download laravel 5.1 like this:
composer create-project laravel/laravel ganja.local "5.1.*"
Answer the question
In order to leave comments, you need to log in
2 options - either specify the path in the server config, or add htaccess (I don’t know how it is with nginx):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question