I'm working in a admin bundle but the css/js is not working. http://d.pr/i/UJHo
From the print, bootstrap js/css came from external domain, I tried to call a local bundle file but I got the error. My htaccess is unchanged from original laravel: http://d.pr/i/VWua
My style.css already have the right permission and already exists:
$tree public/bundles/admin public/bundles/admin └── css └── style.css
Tip: When I access http://domain/img/bg.png
that's works, but not when I try http://domain/images/bg.png
It looks like you are rewriting /images to /public/img. 'public' is the webroot so presumably the request is going to /public/public/img...
But it looks like these rules aren't being applied at all because the /img path would have the same issue. Check the body of the 404 response. If it contains HTML for the 404 page returned by Laravel then this is the case.
Either way those lines are not really needed. If you want /images to return stuff in /public/img, then you should create a symlink from /public/images to /public/img.