WebPagetest Forums
testing country blocks - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: testing country blocks (/showthread.php?tid=13480)



testing country blocks - Andy5000 - 01-14-2015 05:23 AM

I set up a list of ip's to deny from in a .htaccess file in a forum sub-folder so as to cut down forum registration spam but still allow access to the parent site. I wanted to check whether they are working, but proxy access is disabled where I am so I called up a load report from one the countries I blocked. The report showed the site loading normally without giving the 403 error code.Does that mean the block isn't working or could the site see that the test is coming from elsewhere?


RE: testing country blocks - pmeenan - 01-14-2015 05:52 AM

I expect it largely depends on how you are doing the geo-lookup to figure out the country the visitors are coming from. It's possible that the database you are using isn't working correctly for the location the test agent is coming from.