RewriteEngine on

RewriteRule !\.(js|ico|gif|jpg|png|bmp|rar|zip|tar|gz|css|html|htm|mp3|swf|xml)$ index.php [NC]