PDA

View Full Version : Blocking Clicking Hitbots???


QuietMike
11-13-2001, 05:18 PM
Does anyone know how I can block a hitbot using htaccess???
I have 2 domains hitbotting me and I want to stop this. Can you please tell me exactly how to stop them. I have read other posts but I saw lots of different ways and where to put the htaccess. I tried some but it didn't work. I need complete instructions fast because these hitbots are killing my prod on other sites.

QuietMike
11-13-2001, 05:22 PM
I am using ucj if it make a difference

QuietMike
11-13-2001, 08:28 PM
Please help me. zero-sex.com and adultregion.com are killing my site by the hour. I have already blacklisted them, but there damn bots are still clicking my links which is lowing my prod on my trade sites.

Backov
11-13-2001, 08:31 PM
Ok, if they're actually putting the referrer on the hitbots, use this:

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://.+\.zero-sex\.com/* [NC]
RewriteCond %{HTTP_REFERER} !^http://.+\.adultregion\.com/* [NC]
RewriteRule /* http://www.blah.com/ [R,L]

The last line is where you want these fucks to go.

The other thing you should do if you can (UCJ might let you do this, dunno) is send all no-cookie and no-referrer traffic to something other than your trades.

Cheers,
Backov

Backov
11-13-2001, 09:15 PM
Oops, sorry, screwed that up!

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://.+\.zero-sex\.com/* [NC]
RewriteCond %{HTTP_REFERER} ^http://.+\.adultregion\.com/* [NC]
RewriteRule /* http://www.blah.com/ [R,L]

The way I had it, ONLY hits from those domains would be allowed..

Cheers,
Backov

QuietMike
11-13-2001, 09:41 PM
it doesn't seem to work. My cgi-bin is not in my html folder. they are two different folders so I put the .htaccess outside both of them. Is that what I should do? also, I put the Error 403 set to my domain name, will that affect it?

I really have no idea what I am doing so please bear with me. I am just bringing stuff up that I read in other posts that *could* affect what you are trying to get me to do. Sorry, I just no jack about .htaccess

Backov
11-14-2001, 12:39 AM
No.. If you're just worried about your cgi-bin, put the htaccess in the cgi-bin folder.

As for the 403 thing, I'd have to see how you have it.. Putting the .htaccess outside both folders will do nothing..

Cheers,
Backov

QuietMike
11-14-2001, 01:44 PM
Ok, I put a .htaccess file in my cgi-bin/ucj/ folder containing just:

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://.+\.zero-sex\.com/* [NC]
RewriteCond %{HTTP_REFERER} ^http://.+\.adultregion\.com/* [NC]
RewriteRule /* http://www.yahoo.com/ [R,L]

In my htdocs folder, I put a .htaccess containing:

ErrorDocument 401 http://www.free-xxx-avi-movies.com/
ErrorDocument 500 http://www.free-xxx-avi-movies.com/
ErrorDocument 404 http://www.free-xxx-avi-movies.com/
ErrorDocument 403 http://www.free-xxx-avi-movies.com/
ErrorDocument 408 http://www.free-xxx-avi-movies.com/


It doesn't work. In my ucj stats, I am still getting clicks from those two refferers. :(

Backov
11-14-2001, 02:38 PM
Ya, I don't know htaccess as well as I would like.. But, I experimented with it a bit, and tested it, and this will work:

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://.*domain1.com/* [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*domain2.com/* [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*domain3.com/* [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*domain4.net/* [NC]
RewriteRule .* http://popuphell.com/ [R,L]

Note that the last domain has to NOT have the ,OR in it, or things will screw up. There were also some problems from the last version I sent..

I tested this with using one of my domains as a linker, and linked from lots of different subdomains and no subdomain, and it sent me to the popup hell every time.

(Real cheaters domains have been removed to protect the guilty, and to stop their whining.)

Cheers,
Backov

QuietMike
11-14-2001, 03:16 PM
I tested it out and it sends me to popuphell everytime from my own domains. The hitbot clicks on my out links are still being counted by ucj though, anyone know why?

How is this asshole doing this?

Thanks for the help Backov, you did a great job. :)

Backov
11-14-2001, 06:50 PM
Like I said before, this will only work if there's an actual referrer.. I don't know if UCJ will let you do this, but try sending all of your noref and nocookie traffic to the popup hell as well..

Cheers,
Backov

Hyde
11-15-2001, 02:54 AM
I don't think he want's to send his bookmarkers (noref) to popup hell..

I have also the same problem with these domains and a few others. Now I wonder if it will help to just change the nocookie url. Can this block the hitbots?

I have my nocookie stats at:
82
0
8524
this can not be good..?