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

Thread: How can i redirect bad traffic?

  1. #51
    _Chris_ is offline Newbie Net Builder
    Join Date
    Apr 2011
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    UncleP's Avatar
    UncleP is offline The perfect face for radio
    Join Date
    Nov 2009
    Location
    Blighty
    Posts
    218
    Thanks
    20
    Thanked 91 Times in 61 Posts
    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
    _Chris_ is offline Newbie Net Builder
    Join Date
    Apr 2011
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, will bear that in mind. Mike - what do you advise next please?

  4. #54
    Kaustubh is offline Unknown Net Builder
    Join Date
    Jan 2011
    Posts
    38
    Thanks
    6
    Thanked 2 Times in 2 Posts

  5. #55
    _Chris_ is offline Newbie Net Builder
    Join Date
    Apr 2011
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Mike, what do you suggest next please?
    The helps appreciated.
    Chris

  6. #56
    _Chris_ is offline Newbie Net Builder
    Join Date
    Apr 2011
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    vectro's Avatar
    vectro is offline I Like Stuff
    Join Date
    Dec 2008
    Location
    U.S.A.
    Posts
    633
    Thanks
    192
    Thanked 104 Times in 82 Posts
    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. #58
    Mike-XS's Avatar
    Mike-XS is offline XeroAgent
    Join Date
    Sep 2009
    Location
    OZ
    Posts
    209
    Thanks
    30
    Thanked 109 Times in 71 Posts
    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. #59
    Mike-XS's Avatar
    Mike-XS is offline XeroAgent
    Join Date
    Sep 2009
    Location
    OZ
    Posts
    209
    Thanks
    30
    Thanked 109 Times in 71 Posts
    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
    _Chris_ is offline Newbie Net Builder
    Join Date
    Apr 2011
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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, 19:19 PM
  2. [WTS] Traffic | Traffic | Traffic | Dont forget to check inside
    By squintoo in forum Services
    Replies: 2
    Last Post: 16 October, 2009, 16:12 PM
  3. 301 redirect all to all
    By Hellas in forum Managing
    Replies: 0
    Last Post: 27 August, 2009, 13:25 PM
  4. How to redirect traffic with CSF?
    By ProxySites.ca in forum Web Hosting
    Replies: 1
    Last Post: 6 August, 2009, 00:47 AM
  5. Non-www. to www. 301 redirect
    By Dr. Stavros in forum Managing
    Replies: 8
    Last Post: 29 July, 2009, 19: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
  •