You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Matt Pruett <en...@logicaldreams.net> on 2005/08/03 14:31:00 UTC

[users@httpd] Bandwidth quota's?

Is it possible to implement in apache a website bandwidth quota? You see
it on a number of hosting companies, where if a site chews up too much
the users will eventually get a different site saying something like
"site has used up their monthly bandwidth quota". I am mostly interested
in protecting myself from run away downloads, like say someone posts a
popular file on their site that then starts getting downloaded like
crazy putting my bandwidth costs through the roof.

Thanks :)
-- 
Matt Pruett <en...@logicaldreams.net>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Bandwidth quota's?

Posted by Joost de Heer <sa...@xs4all.nl>.
Matt Pruett said:
> Is it possible to implement in apache a website bandwidth quota? You see
> it on a number of hosting companies, where if a site chews up too much
> the users will eventually get a different site saying something like
> "site has used up their monthly bandwidth quota". I am mostly interested
> in protecting myself from run away downloads, like say someone posts a
> popular file on their site that then starts getting downloaded like
> crazy putting my bandwidth costs through the roof.

Check mod_throttle (http://www.snert.com/Software/mod_throttle/).
According to the documentation it has:

Volume
    Impose a limit on the volume (kbytes sent) per period. When this limit
is exceeded all further requests are refused, until the end of the
period at which point the elapsed time and counters are reset.

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org