rewritecond

rewriterule in htaccess to match certain file extensions

How can I look for an instance for certain file extensions, like .(jpg|png|css|js|php), and if there is NOT a match send it to index.php?route=$1. I would like to be able to allow period's for custom usernames. So, rewrite http://example.com/my.name to index.php?route=my.name Current setup: .htaccess: <IfModule mod_rewrite.c> Rewrit...