Options +FollowSymlinks
RewriteEngine On
RewriteRule
^([.a-z0-9_-]+)(/?)+$ ../download.php?n=$1 [QSA,L]
RewriteCond
%{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING}
http:.*\/.*\/ [OR]
RewriteCond %{QUERY_STRING} ..*\/ [OR]
RewriteCond
%{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond
%{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond
%{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})