Log in

View Full Version : http://www.stripdir.com/sd/


Mr Spock
2008-11-18, 12:21 AM
http://www.stripdir.com/sd/
Found these fuckers in my stats , how does one block them. I tried a htaccess redirect , but that didn't work.

Should I try and block them with antihotlinking?

Useless
2008-11-18, 08:43 AM
Add this in your root .htaccess file:
order allow,deny
deny from 89.18.179.48

Mr Spock
2008-11-18, 10:28 AM
Add this in your root .htaccess file:
order allow,deny
deny from 89.18.179.48

I get a 403 error , when I try to access my site

Useless
2008-11-18, 11:09 AM
I get a 403 error , when I try to access my site
Hmmm...add this after the two lines I already gave you:
allow from all
I'm assuming that you aren't denying any other IPs.

I have a small list of IPs that I deny. When I added their IP and tested their site with my URL, this is their result:
"No images were found on the specified page!"

Mr Spock
2008-11-18, 11:30 AM
Hmmm...add this after the two lines I already gave you:
allow from all
I'm assuming that you aren't denying any other IPs.

I have a small list of IPs that I deny. When I added their IP and tested their site with my URL, this is their result:
"No images were found on the specified page!"

Thanks that worked |thumb, blocked them and still allowed me to access my site.

Twiceshy
2008-11-18, 02:13 PM
Thanks UW i also added that to my sites to make sure i dont get those guys visiting and thank you Mr Spock for the heads up i had no idea there were sites like that.I learned something new today :)

Useless
2008-11-18, 02:31 PM
Glad it worked. ;) Of course, if they change hosts, their IP will change and you'll have to update it in your .htaccess.

You can actually create a list of IPs to deny by simply adding each in this manner:

deny from XX.XX.XX.XX
So if you were denying five different IPs, that area of your .htaccess might look like this:
order allow,deny
deny from 89.18.179.48
deny from 12.34.56.78
deny from 22.34.56.78
deny from 32.34.56.78
deny from 42.34.56.78
allow from all

From my minimal understanding, it's really not a good thing to have to big of list rules within your .htaccess because it's forcing your server to cross-check the referring IP of every incoming whatever. You shouldn't experience any sort of issue with just a few though. (I have several IPs banned for multiple long-forgotten reasons.)