|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (5 bit)
Join Date: Jun 2004
Posts: 22
|
Blocking
Hello, A freind of mine is having problems with a person that is herasing her on her online journal and she has the ip of the person. Is there a code she can add to her journal to block this IP. It is a ip that stays the same
|
|
|
|
|
|
#2 |
|
Member (6 bit)
Join Date: Jun 2004
Location: St. Louis, Missouri
Posts: 53
|
Hi Airwalk 2007,
Check out "ZoneAlarm Pro." You can use the freeware (ZoneAlarm) which will never expire but the Pro version offers a variety of features including the ability to block individual IP's. Here's the site to read up on it. Free Version: http://www.zonelabs.com/store/conten...tails.jsp?lid= zaskulist_info#benefits Good Luck!
|
|
|
|
|
|
#3 |
|
Member (10 bit)
|
I think he means an online journal entry site. And I dont know of anything, but could she contact an administrator and ask them about it? They would probably be able to help.
|
|
|
|
|
|
#4 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
I would presume there is a way to block individual IPs, but that would require CGI/Perl scripts or PHP/MySQL which I'm not too familiar with - does your server support those?
kram
__________________
"For today, goodbye. For tomorrow, good luck. And forever, Go Blue!"
University of Michigan President Mary Sue Coleman |
|
|
|
|
|
#5 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Ask a simple question and get a couple of wrong answers.
One, using ZoneAlarm to block IP addresses will not work if Airwalk2007 has the site hosted elsewhere. Two, you don't need CGI/Perl scripts or PHP/MySQL to block IP addresses. You could no doubt do it that way but that would be insane to even try when a much simpler tool is available. The best solution would be to use mod_rewrite in an .htaccess file or a have a simple deny statement in there. Example using mod_rewrite in .htaccess. Code:
RewriteEngine on
RewriteCond %{REMOTE_ADDR} ^BANNED_IP_ADDRESS$
RewriteCond %{REQUEST_URI} !^/URL_TO_BE_REDIRECTED_TO$
RewriteRule ^/.* /URL_TO_BE_REDIRECTED_TO
Example using simple deny in .htaccess. Code:
order allow,deny allow from all deny from BANNED_IP_ADDRESS Here is some more info on .htaccess.htaccess and mod_rewrite You might also check with whoever hosts your site. Oftentimes they will have a control panel with an IP ban function.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|