Problem with public folder in laravel

Posted February 4, 2014 5.1k views
I have a LAMP stack on Ubuntu. I have Laravel 4 correctly installed on var/www folder In the 000-default.conf file i have the DocumentRoot set to var/www/public Everything works when i try to access my site i get the front page. But the assets in the public folder are not loarde i get 404. So my questio is i'm missing some configuration? It's because only the public folder of Laravel is included in the DocumentRoot?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
It looks like your DocumentRoot is set correctly. Could you post the rest of the config for your virtual host in 000-default.conf?