redirect according to ip?
I need to prevent users of some countries from accessing a certain page at a website. Users not in certain countries need to be redirected elsewhere.I've been googling geo-ip stuff and I'm getting confused. I have also found these uninstalled modules on my servers:
Apache::Geo::IP
Apache::Geo::IP::Record
Geo::IP
Geo::IP:

Geo::IP::Record
Geo::IPfree
I don't yet know if I will need to install any of those (if so, should I install in WHM or via SSH? )
Since I only need to redirect from a single webpage (not site- or server- wide), what would be the easiest way to do this? Can a javascript be used?
It may be important to mention the page in question is a page in cgi-bin. The site is using a perl script with an html template system. (ie, you login to a protected area in cgi-bin and edit the templates from an admin panel). So I think javascript or perl could either one be used.
TIA
