By pmcalabrese
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It looks like your DocumentRoot is set correctly. Could you post the rest of the config for your virtual host in 000-default.conf?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.