I need HTACCESS file to protect my galleries from HotLink and redirect Bookmakers and traffic with (Russian, china... IP)
This code protect from Hotlink...
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://.*mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xxx.xxx.xxx/.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$
http://www.redirect address [R,L]
Please help me write full code, to do all i need, or give me an example of Working File..
P.S. Can i be banned if i`ll redirect traffic with China, russian... IP from my galleries, to my freesite???
Thanx..
[This message has been edited by lex (edited 10-18-2001).]