<FilesMatch "\.(cache|sql|bak|ini)$">
order deny,allow
deny from all
</FilesMatch>
RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} !\.(php|jpg|css|jpeg|png|gif|html|htm|js)
RewriteRule ^(.*) index.php?%1 [L]
RewriteRule ^index\.html$ index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .*\.(jpg|jpeg|png|gif)$ - [F]
RewriteCond %{HTTP_REFERER} !
www.mp3.com
RewriteRule .*\.(jpg|jpeg|png|gif)$ - [F]
ErrorDocument 404 /index.php
[