# These settings routes all traffic, except concrete files, to the dispatcher
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*)$ index.php [NC,L]
The problem is that it does route concrete files to the dispatcher :(
How can I make it so URLs like http://site.com/style.css
are ignored?
Try this and let me know:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule . /index.php [NC,L]
You were rewriting everything to the index.php, this will check if the file/folder/symlink exists and then load the file if it does.