|
|
|
|
![]() ![]() |
![]() Group: Members
Posts: 20 Joined: 19-November 06 Member No.: 33,668 |
Post
#1
Mar 10 2007, 03:20 PM
Hello guys i need some .htacces help over here , I am unfamiliar to .htaccess and I need to ban a certain IP from coming to my website. I know that banning people from a site like mine where logins are not required it is pretty much difficult but i think its not impossible. i have a comment box and an guestbook on my website and over the past few months I have been receiving some spam comments from one spammer in Bulgaria i didn't have a problem with that , i just had to delete them every morning, but the real problem bagan yesterday I started receiving tons (like three / five every minute) of the same spam from the same guy and two more spammers leaving links to many websites full of illegal stuff. I was really angry but i didn't know what to do .. so i just disabled all new comments but somehow they started spamming huge comments all over the place. so i had to remove my comment box and guestbook from my website. can anyone help me to get out from of this nightmare?
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED]
Posts: 299 Joined: 27-January 07 From: Winter is cold here. Member No.: 37,984 ![]() |
Post
#2
Mar 10 2007, 05:05 PM
Are you using cpanel? i'm pretty sure there is a setting to ban IP, there is one in IPB and PHPBB2. Hope I could help!
|
![]() Group: [MODERATOR]
Posts: 4,336 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() myCENT:10.0 |
Post
#3
Mar 10 2007, 05:28 PM
Yes, the Cpanel has an IP denial script in place. Sign-on to your Cpanel and look for "Site Management Tools / IP Deny Manager " in the list of features available. |
![]() Group: Members
Posts: 12 Joined: 8-March 07 From: Gtown, Wisconsin Member No.: 39,728 |
Post
#4
Mar 11 2007, 07:38 PM
if you want to use a .htacces file, you can use something like this, where 111.111.111.111 is the ip address you want to block: CODE order allow,deny
deny from 111.111.111.111 allow from all |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED]
Posts: 786 Joined: 13-April 07 From: mreža Member No.: 41,558 |
Post
#5
Apr 15 2007, 09:04 AM
Well if you are using trap17 as your host there is automated option for this so you want bother about adding the htacces. As it can be tiring sometime actually all the time |
![]() Group: Members
Posts: 14 Joined: 29-June 07 Member No.: 45,684 |
Post
#6
Jun 29 2007, 06:01 PM
html code for blocking ip's - <Limit GET HEAD POST> order allow,deny deny from 100.100.1.100 allow from all </LIMIT> |
![]() Group: Members
Posts: 2 Joined: 28-December 07 Member No.: 55,409 |
Post
#7
Dec 29 2007, 12:24 AM
Try this link. http://www.hostmonsterforums.com/showthread.php?t=2352 [note=jlhaslip] Three word answers are considered Spam on this Board. Please read the Rules in the trap17 readme. [/note] |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED]
Posts: 526 Joined: 12-January 07 From: Rocky Mountains, south of Banff National Park Member No.: 37,065 ![]() |
Post
#8
Dec 29 2007, 04:25 AM
I didn't find reading that link terribly helpful. For one thing, it really doesn't reach a conclusion. A good idea brought up is to block a specific MAC address, which must be possible, but pretty obscure information. In the future, assuming you're here to earn hosting credit, sum up the content contained within this other forum to form your own fresh content relevant to the subject at hand. You're not going to gain anything but spam warnings with three-word responses. I'd personally be interested in learning how to block specific machines from accessing my web site. But, then, I'd also like to be able to beat NSA computers in the encryption game... And, for the original poster at that other forum, when you're constantly harassed by a 13 year old, it's still harassment and there's still a law being broken, even if the parents don't act responsibly. If this is you, keep records of your incoming cell phone calls, and keep records of the comments he leaves on your web site to show the juvenile authorities.
This post has been edited by Watermonkey: Dec 29 2007, 04:26 AM |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
15 | psp-playstation | 972 | 3rd September 2004 - 12:42 AM Last post by: annylei |
|||
![]() |
2 | Milli Riba | 343 | 3rd October 2004 - 10:51 AM Last post by: wassie |
|||
![]() |
11 | illdevilinc | 778 | 10th June 2006 - 08:55 PM Last post by: illdevilinc |
|||
![]() |
4 | Dreamer | 364 | 20th November 2004 - 09:06 PM Last post by: swanx |
|||
![]() |
8 | cragllo | 740 | 3rd January 2005 - 11:56 PM Last post by: FaLgoR |
|||
![]() |
0 | ezincenter | 249 | 16th February 2005 - 11:31 AM Last post by: ezincenter |
|||
![]() |
4 | FaLgoR | 580 | 27th February 2005 - 09:59 PM Last post by: alexia |
|||
![]() |
9 | FaLgoR | 706 | 6th March 2005 - 02:01 AM Last post by: mobious |
|||
![]() |
2 | Kubi | 649 | 24th June 2006 - 06:55 PM Last post by: Paul |
|||
![]() |
0 | Benz1435 | 641 | 5th March 2005 - 07:13 PM Last post by: Benz1435 |
|||
![]() |
1 | -jpsimboy- | 326 | 24th November 2004 - 12:20 PM Last post by: -discovertrip- |
|||
![]() |
11 | -Bondings- | 814 | 24th December 2004 - 04:31 PM Last post by: -Nazrin- |
|||
![]() |
0 | -Anonymous- | 330 | 21st January 2005 - 11:07 AM Last post by: -Anonymous- |
|||
![]() |
6 | -crazzyt9- | 1,023 | 27th February 2005 - 08:39 AM Last post by: -Boomba- |
|||
![]() |
6 | -giant- | 359 | 16th March 2005 - 10:18 AM Last post by: -giant- |
|||
|
Lo-Fi Version | Time is now: 5th December 2008 - 11:51 AM |