Hello everybody, I’m new to the Slim FW.
Appreciate a lot your help!
I have a project which works alright, the only issue is that the static assets are not loaded correctly.
php -S localhost:8080 -t public public/index.php
The assets are loaded as html which causes an error in the browser.
I followed the instructions on web server configuration, configured the .htaccess both in the root and public folder, but nothing helped.
I’m using default apache2 configuration running on Ubuntu. Is there some config I’m missing on my server in order to make it work?
I found a solution that works but I don’t think it is the best practice in Slim Framework.
Thanks for any help!