|
#1
[
]
|
||||
|
||||
|
IP BLOCKER CODE NEEDED
Hey I am needing an IP blocking code because my friends think it's funny to spam me so I want to prevent them from doing this.
I have this code but I'm not sure how to use it exactly. <Limit GET> order deny,allow deny from 000.00.000.000 </Limit> This is the Ip I want to block. 66.42.157.69 |

|
#2
[
]
|
|||
|
|||
|
Re: IP BLOCKER CODE NEEDED
Kinda depends on how you're being spammed, and what specifically you're trying to block.
You can block them from a given section of your site. Create a file in the directory you want to block their access to called .htaccess and paste the following code into that file: order allow,deny deny from 66.42.157.69 allow from all So for example, if you want to block http://www.somesite.com/private/, you'd create the file http://www.somesite.com/private/.htaccess and paste the above lines in. Of course, this assumes a few things: 1. The server you're using runs Apache. 2. They allow you to use your own .htaccess files. Depending on how they're trying to spam you, there may very well be easier ways of blocking them. For example, most forums support IP bans.
__________________
dobs.org E3 News Feed |

| Sponsored Links |
|
#3
[
]
|
||||
|
||||
|
Re: IP BLOCKER CODE NEEDED
okay thanks your helping me out immensly
do u want anything in return help u in any way |

![]() |
| Tags |
| blocker, code, needed |
| Thread Tools | |
|
|