I have published my site and I have this inside .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ web/app_dev.php [QSA,L]
</IfModule>
and when I go to http://www.mysite.com(example) it doesn’t load css, javascript,
images. My files are in “web” folder and I use this code for load them – {{ asset….
Why it does not work?
PS: I can’t modify httpd.conf on the server because I use shared hosting.
Help please.
First try to access the images, css, javascript directly ex: http://www.mysite.com/css/style.css, if it works, then you typed the wrong src url and shouldn’t be the .htaccess. If not, check permissions, clean cache.