This is a discussion on Blocking IP address with .htaccess within the v3.0 Questions & Support forums, part of the v3.0.x Help & Support category; I have a competitor that keeps lurking on my site, how do I block his IP address? This starting to ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have a competitor that keeps lurking on my site, how do I block his IP address? This starting to become a problem. I have tried a simple >htaccess file and it seems that it shut down my site. I removed it so if there is anyone that could help me test it that would be great.
Cheers |
|
#2
|
||||
|
||||
|
As Ive mentioned before the best bet is to use your web providers control panel to specify an IP if they offer that feature. If not a google search for "htaccess block ip" will return all the info you should need.
http://www.javascriptkit.com/howto/htaccess5.shtml http://www.clockwatchers.com/htaccess_block.html also keep in mind your host may or may not allow this functionality, only they will be able to tell you for sure.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#3
|
||||
|
||||
|
Quote:
-- hugh |
|
#4
|
||||
|
||||
|
Of course, unless he/she has a static IP address, that may not help you. Most ISPs use a DHCP server which means that the IP address could change.
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b3 Templates for sale | 68 Classifieds Customizations | My blog on 68 Web Hosting | Web Design & Development I am not a 68C employee, just a user and try to help out |
|
#5
|
|||
|
|||
|
<Limit GET>
order allow,deny deny from 193.41.*.* allow from all </Limit> Is the code? This guy will not leave my site alone.
|
|
#6
|
||||
|
||||
|
I would NOT recommend that you do this as you are blocking a full class B block.
This means that NO ONE that uses any IP address from 193.41.0.1 through 193.41.255.255 will be able to access your site. That's ALOT of IP addresses and most likely most of the addresses from the same ISP that this individual is on. It's a large enough block that it could actually span more than one ISP (if they are small ISPs). Just checking. What I'm wondering is, "What is this person doing?" Is he/she being malicious? Is he/she attacking the site, etc.? If that's the case and I assume your getting this info from your logs, then I would report it directly to their ISP as that would be a clear violation of the TOS for use of the ISP access. You can find out exactly who the ISP is by doing a whois on the IP address. Having actual logs to backup your claims of malicious behavior will most definitely suffice almost any ISP I've contacted regarding this in the past. Believe me, I've reported quite a few. -Mike
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b3 Templates for sale | 68 Classifieds Customizations | My blog on 68 Web Hosting | Web Design & Development I am not a 68C employee, just a user and try to help out |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| When not using Address or City | Grebogreen | v4 Questions & Support | 2 | 07-05-2007 12:46 PM |
| .htaccess = 1.htaccess ?? | garysr | v3.1 Questions & Support | 2 | 12-17-2006 01:28 PM |
| E-Mail filter and IP/Domain blocking... | bgordon | v3.1 Modules & Modifications | 2 | 11-10-2006 11:06 PM |
| Validating Address - preventing spammers | dawyatt | v3.1 Questions & Support | 1 | 09-13-2006 02:16 PM |
| IP Address in Contact form | SkGold | v3.0 Questions & Support | 5 | 05-07-2006 08:35 PM |