![]() |
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).] |
AuthUserFile /dev/null
AuthGroupFile /dev/null RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com RewriteCond %{HTTP_REFERER} !^http://yoursite.com RewriteCond %{HTTP_REFERER} !^http://yourIp RewriteRule /* http://www.wheretoredirectunauthorizedtraffic.com [R,L] That works for me, and yeah my guess is that you can get banned for that. ------------------ <A HREF="http://www.free-recip-host.com" TARGET=_blank>Free Recip Host </A>Get your recips hosted for free and cut your work in half! |
All times are GMT -7. The time now is 08:20 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123