Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Old 2008-11-18, 12:21 AM   #1
Mr Spock
You can now put whatever you want in this space :)
 
Mr Spock's Avatar
 
Join Date: Nov 2006
Location: Vulcan
Posts: 695
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?
Mr Spock is offline   Reply With Quote
Old 2008-11-18, 08:43 AM   #2
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Add this in your root .htaccess file:
Code:
order allow,deny
deny from 89.18.179.48
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2008-11-18, 10:28 AM   #3
Mr Spock
You can now put whatever you want in this space :)
 
Mr Spock's Avatar
 
Join Date: Nov 2006
Location: Vulcan
Posts: 695
Quote:
Originally Posted by Useless Warrior View Post
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

Last edited by Mr Spock; 2008-11-18 at 10:40 AM..
Mr Spock is offline   Reply With Quote
Old 2008-11-18, 11:09 AM   #4
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by Mr Spock View Post
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!"
__________________
Click here to purchase a bridge I'm selling.

Last edited by Useless; 2008-11-18 at 11:16 AM..
Useless is offline   Reply With Quote
Old 2008-11-18, 11:30 AM   #5
Mr Spock
You can now put whatever you want in this space :)
 
Mr Spock's Avatar
 
Join Date: Nov 2006
Location: Vulcan
Posts: 695
Quote:
Originally Posted by Useless Warrior View Post
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 , blocked them and still allowed me to access my site.
Mr Spock is offline   Reply With Quote
Old 2008-11-18, 02:13 PM   #6
Twiceshy
You can now put whatever you want in this space :)
 
Twiceshy's Avatar
 
Join Date: Apr 2003
Location: Canada
Posts: 958
Send a message via ICQ to Twiceshy
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
Twiceshy is offline   Reply With Quote
Old 2008-11-18, 02:31 PM   #7
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
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.)
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Reply


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 03:34 AM.


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