<IfModule mod_rewrite.c>

Options -MultiViews
Options +FollowSymlinks
RewriteEngine on

RewriteCond %{REQUEST_URI} !^/?(resources)/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [PT,L]

</IfModule>