var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Limit bandwidth by country?
Does anyone know any way of limit bandwidth by country?
International bandwidth isn't cheap here.. so we're looking at measures to limit bandwidth (connection speed) by country.
Could this be achieved?
I would imagine this would involve some kind of IP lookup to determine visitor traffic, and then limiting if there were rules in place. Done a good search online but haven't found anything.
And also, is there any way of monitoring international bandwidth per cPanel account - easily? (Instead of having to go through each clients logs one by one!)
We're running a cPanel server and was wondering if this could be done on the server.
You need to make your own Apache mod.
First problem easy to solve by nginx with buit in ngx_http_geo_module.
You can setup nginx as frontend of apache.
some front-end which loads its content by rewrite directive from multiple vhost (unique ip + mod throttle) based browsers information (or geo module).. main data could be shared by apache proxypass directive
so, front-end address would be mydomain.com which leads to eu.mydomain.com if visitor seems to come there and mod_thorttle will give as much as configured to that ip address.
Last edited by tapsa; 09-17-2009 at
By Dougy in forum Dedicated Hosting Offers
Last Post: 04-13-2007, 09:33 AM
By riquelme in forum Dedicated Server
Last Post: 11-12-2006, 09:12 PM
By wm2100 in forum Dedicated Server
Last Post: 04-26-2005, 02:42 PM
By maxbear in forum Employment / Job Offers
Last Post: 12-11-2003, 12:07 PM