Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   http://www.stripdir.com/sd/ (http://www.greenguysboard.com/board/showthread.php?t=50122)

Mr Spock 2008-11-18 12:21 AM

http://www.stripdir.com/sd/
 
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:
Code:

order allow,deny
deny from 89.18.179.48


Mr Spock 2008-11-18 10:28 AM

Quote:

Originally Posted by Useless Warrior (Post 429419)
Add this in your root .htaccess file:
Code:

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

Quote:

Originally Posted by Mr Spock (Post 429449)
I get a 403 error , when I try to access my site

Hmmm...add this after the two lines I already gave you:
Code:

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

Quote:

Originally Posted by Useless Warrior (Post 429459)
Hmmm...add this after the two lines I already gave you:
Code:

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:

Code:

deny from XX.XX.XX.XX
So if you were denying five different IPs, that area of your .htaccess might look like this:
Code:

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.)


All times are GMT -4. The time now is 01:08 PM.

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