mod_ratelimit - Apache HTTP Server Version 2.4

Apache HTTP Server Version 2.4

Apache > HTTP Server > Documentation > Version 2.4 > Modules

# Apache Module mod_ratelimit

Available Languages: en | fr

Description: | Bandwidth Rate Limiting for Clients
Status: | Extension
Module Identifier: | ratelimit_module
Source File: | mod_ratelimit.c

### Summary

Provides a filter named `RATE_LIMIT` to limit client bandwidth. The connection speed to be simulated is specified, in KiB/s, using the environment variable `rate-limit`.

### Example Configuration

    <Location "/downloads">
        SetOutputFilter RATE_LIMIT
        SetEnv rate-limit 400
    </Location>

### Directives

This module provides no directives.

- Comments

Available Languages: en | fr

## Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.