RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
AddDefaultCharset UTF-8
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Options -Indexes
Order allow,deny
Deny from all
Order allow,deny
Deny from all
Order allow,deny
Deny from all
Order allow,deny
Deny from all
RedirectMatch 404 /\.git
RedirectMatch 404 /\.yml
RedirectMatch 404 /\.yaml
RedirectMatch 404 /\..*$