RewriteEngine on
# Rewrite-Code | by dvdbil www.seditio-tr.com
RewriteCond %{QUERY_STRING} (\"|%22).*(\>|%3E|<|%3C).* [NC]
RewriteRule ^(.*)$ hata.php [NC]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC]
RewriteRule ^(.*)$ hata.php [NC]
RewriteCond %{QUERY_STRING} (\;|\'|\"|\%22).*(union|insert|where|select|update|drop|md5|or|and|if).* [NC]
RewriteRule ^(.*)$ hata.php [NC]
RewriteRule (,|;|<|>|'|`)  [NC]

<Files *.tpl>
order deny,allow
deny from all
</Files>
Options -Indexes

DirectoryIndex index.html