1 wrabbit Mar 28, 2005 05:41
3 wrabbit Mar 28, 2005 06:06
I'm definitely going to do that as well. Thanks whoo :)
4 itzsnider Mar 28, 2005 16:20
So how do I add this great list to my site so they don't come my way. Just add your little rewrite to my .htacess or? Where do I put th elist of names etc.
Sorry n00b here
5 dr_chi Mar 29, 2005 14:55
could I get some more details on this?
I am a recent LAMP convert (used to be m$ iis, now learning Apache).
I get what .htaccess file are and how they're used to add to the httpd.conf but what exactly do I need to add to my ht files to make use of these mods? Both the spam lookup in the second post and also blocking individual hosts list the first post.
I'd appreciate the help.
6 village_idiot Mar 29, 2005 19:57
look inside any .jtaccess you already have in the root directory of your site .. IF you already have mod_rewrite rules in there .. you will see this:
RewriteEngine On
...
if that IS the case, then below that, add the following:
RewriteCond %{HTTP:VIA} ^.+pinappleproxy
RewriteRule ^(.*) http://%{REMOTE_ADDR}/ [R=301,L]
the above 2 lines check a header that is sent using a specific proxy, YOU WILL NOT SEE THIS IN YOUR APACHE LOGS.
If it comes across the proxy, the user is sent back to their own IP
If you dont have the first line.. the rewrite .. on thing .. than add all 3, just like they are.
I would start with just that, honestly, and if you get spam other after that, add 'other things" from that point on.
My logs are clean, stunningly clean now, Ive managed, so it seems, to put the final dagger in anyone that wants to spam me :)
nice job :) If you are using an .htacess you will appreciate this info, in fact I wanted to mentiuon this here earlier .. check this link out :
http://www.candygenius.com/spampop
basically what that all boils down to is that ALL of the domains listed here:
http://www.candygenius.com/spamvertised_domains_raw.php
can be blocked in your .htaccess w/ one mod_rewrite rule:
There is no telling how long it will work, but I can say that i've pruned my own .htaccess down considerably now that I'm using that -- and yes it is working.. i was hit early last night by one of the domains on that page, added it the way I used to .. then today, after removing the domain and replacing it with that simple one above, checking my logs I saw it get the 301 redirect i have for spammers.
That list, btw, would also be a good one to check frequently when you are updating/adding to your blacklists.