Page 6 of 8 FirstFirst ... 45678 LastLast
Results 51 to 60 of 78

Thread: How can i redirect bad traffic?

  1. #51
    Hi Mike, have now had a reply from the hosts :
    Sorry, due to shared server environment, its not possible to enable Apache GEOIP module for you, as we need to compile the apache and it will cause an issue to other clients on server. Please upgrade your plan to a VPS or a Semi-Dedicated/Dedicated server, so that we can enable the same for you.

    Where to next ?

  2. #52
    Quote Originally Posted by _Chris_ View Post
    ....

    Where to next ?
    I'd suggest you get hosting from vectro, he has geoip (.htaccess ver.) already installed and the support is great, always willing to help. It's not just for proxies either so whatever your site is it'll be able to run I'm sure. There's cpanel and fantastico just like usual hosts.
    If I can't be a good example, I'll just have to be a terrible warning...

  3. #53
    Thanks, will bear that in mind. Mike - what do you advise next please?

  4. #54

  5. #55
    Hi Mike, what do you suggest next please?
    The helps appreciated.
    Chris

  6. #56
    After some more persuading, have just had another email from the support, to say : As per your request we have installed GeoIP on the server.

    Is this good news? I assume so? What's next please?

    The helps really appreciated.

    Chris

  7. #57
    Quote Originally Posted by _Chris_ View Post
    After some more persuading, have just had another email from the support, to say : As per your request we have installed GeoIP on the server.

    Is this good news? I assume so? What's next please?
    They installed the GeoIP Apache module? If so, you can use my knowledgebase entries to learn what to do next:

    Vectro Web Hosting Knowledgebase - How do I block specific countries from...
    Vectro Web Hosting Knowledgebase - How do I redirect traffic from specific countries?

  8. Quote Originally Posted by _Chris_ View Post
    Hi Mike, what do you suggest next please?
    The helps appreciated.
    Chris
    Sorry for the late reply.. I think Cloudflare was a good suggestion, maybe you can take a look into their free service plan. They will basically do all the hard work for you.

    Otherwise If you can't get the .htaccess file to work, you could either use a mysql database to store the IP's or even a text file, but a text file would be totally inefficient. There are plenty of GEO IP location / detection scripts to choose from if you do a quick google search.

    The script I'm building will use an online GEO IP API lookup if no other IP database exists locally on the server. Most GEO IP API services have limits on the amount of lookups you can do each day, depending on which site is used.. some have limits such as 10,000 IP lookups per day, and on a high traffic site with lots of pages this would probably not last very long and the results would need to be cached too. My script is definitely not ready for a site with as many pages as you have Chris.

  9. Actually it looks like using CloudFlare to try and block countries or redirect countries is not a very good idea and will not work as expected. You'll have to stick with the other methods of blocking / redirecting countries already discussed here.

    My Block List

    If an individual website owner adds an IP address or a range of IP addresses to the their "My Block List", the visitor will be banned from entering the site. When a user is banned, no CAPTCHA option is presented so there is no way for the visitor to access your site. The Block List is appropriate to use when you know, with a high level of certainty, that you do not want the IP address to visit your site. You can easily add or remove IPs to your block list.

    You can also choose to add a country to your block list.

    When you add a country to your block list, all visitors originating from that country are challenged, not banned.

    Since they are challenged, visitors are given the option to pass a CAPTCHA to get on to your site. Challenged visitors also have the ability to write a short note to the web site owner, which you can see from your Dashboard.

    The reason why CloudFlare does not ban an entire country is so that good users, residing in a country that tends to generate malicious activity, are still able to access tools they need online.
    CloudFlare Threat control Panel

    So if you really want a whole country to be 'blocked' you'll have to do it yourself.

  10. #60
    Thanks Mike, but how do I allow certain countries, but redirect all others please?

Page 6 of 8 FirstFirst ... 45678 LastLast

Similar Threads

  1. Non www to www redirect
    By tetrapak in forum Managing
    Replies: 8
    Last Post: 31 May, 2010, 18:19 PM
  2. [WTS] Traffic | Traffic | Traffic | Dont forget to check inside
    By squintoo in forum Services
    Replies: 2
    Last Post: 16 October, 2009, 15:12 PM
  3. 301 redirect all to all
    By Hellas in forum Managing
    Replies: 0
    Last Post: 27 August, 2009, 12:25 PM
  4. How to redirect traffic with CSF?
    By ProxySites.ca in forum Web Hosting
    Replies: 1
    Last Post: 5 August, 2009, 23:47 PM
  5. Non-www. to www. 301 redirect
    By Dr. Stavros in forum Managing
    Replies: 8
    Last Post: 29 July, 2009, 18:51 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •