View Full Version : Blocking a range of IP Adresses


strike
02-13-2003, 10:42 AM
Hey
I have a problem. I want to block access from a range of ip adresses 131.165.202.0 to 131.165.255.255 how should my script look like anyone who could help me maybe do a script for me just to paste into my homepage.
Thanks
strike

pb&j
02-13-2003, 12:18 PM
Do you have the ability to create/edit a file known as ".htaccess" ? If not, then I think you may be out of luck.

strike
02-13-2003, 01:20 PM
No I'm afraid not but isn't there another way.
In the meantime I will try to see if I have access to one
I had downloaded the one from the board and try'ed to modified it so it look like this is it the right way?

<Limit GET>
order allow,deny
deny from 131.165.202.0 - 131.165.255.255
allow from all
</Limit>

pb&j
02-14-2003, 03:24 AM
That is the coding which goes within the htaccess page.