Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2006-03-28, 03:32 AM   #2
xxxtreme
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
Join Date: Mar 2004
Posts: 51
You could try something like this:

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?domain1.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?domain2.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?domain3.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?domain4.com.*$ [NC]
RewriteRule .* http://www.google.com [R,L]


Does a great job on my sites
Btw, I got this from: http://www.htaccesstools.com/block-hitbots/

Last edited by xxxtreme; 2006-03-28 at 03:35 AM..
xxxtreme is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:14 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc