How to block a certain IP range?

Permalink 1 user found helpful
I am looking for a way that enables me to block all US IPs from my site at least for 6 month. The reason is, that I want to provide solutions for HW to a broad range of people in Europe and then use the same HWs for other students in the US which saves a lot of work.
So not browser language but IP should decide.

I do not have any server privileges (university server) and can only use concrete5 to do the job.

My PHP skills are 30 out of 100, and I've already many code blocks I found on the web none of them did work.

Thank you all!

dorferc
 
Remo replied on at Permalink Reply
Remo
What's wrong with the core functionality to block IP addresses? Check this:http://www.concrete5.org/documentation/using-concrete5/dashboard/sy...

I'm not sure if you can find a complete list of IP address blocks to block a whole country but if you can find it, paste it there and you should be done.

GeoIP might be better but I don't think I've seen such a module. Should be easy to build though.
dorferc replied on at Permalink Reply
dorferc
My version is the problem:
Version: 5.4.2.2. Release Date: October 06, 2011

But I don't want to update it - never change a running system:P
Remo replied on at Permalink Reply
Remo
Does that mean you're still using MSDOS ;-)

In this case you should probably upgrade. I doubt that anyone is going to backport this extension for you just because you don't want to upgrade..
JohntheFish replied on at Permalink Reply
JohntheFish