Forum Moderators: coopster
by the way you should keep in mind that blocking Indian users can block some of your customers may be if you are selling anything on yoru site , it can hurt so think twice before doing it actually.
You may use IP to Country Database from [ip-to-country.webhosting.info...] to convert the IP of any user to its country location and accordingly redirect them to any page saying restricted access.
All you need to is export this database into a mysql database and read it using a simple query with php/mysql to resolve the location