Options -Indexes

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?q=$1 [NC,L,QSA]

AddDefaultCharset utf-8
AddCharset utf-8 .html .css .js .xml
DefaultLanguage en-US

ErrorDocument 404 /index.php


<IfModule mod_headers.c>
    <IfModule mod_mime.c>
        <FilesMatch "\.mp3$">
            ForceType application/octet-stream
            Header set Content-Disposition attachment
        </FilesMatch>
    </IfModule>
</IfModule>
