Options +FollowSymLinks
RewriteEngine On

RewriteRule ^(.*?)\.(css|js|jpg|jpeg|png|gif|pdf)$ - [L]
RewriteRule ^ index.php [L]