View Single Post
Old 10-18-2001, 06:45 AM  
lexxx2
Confirmed User
 
Join Date: Apr 2001
Posts: 148
htaccess ... ???? Need help, PLZ!

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).]
lexxx2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote