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, 02:31 PM   #1
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 12:31 AM.


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