I don't want to set a bandwidth quota though.
Name CBandLimit
Description Specifies bandwidth limit for virtualhost
Context <Virtualhost>
Syntax CBandLimit limit
limit - bandwidth quota size, available units: K (kilo), M (mega), G (giga), Ki (kibi), Mi (mebi), Gi (gibi)
Example CBandLimit 10M
Specifies 10 * 1000 * 1000 bytes bandwidth quota
CBandLimit 10Mi
Specifies 10 * 1024 * 1024 bytes bandwidth quota
This only sets a limit for the Server or VirtualHost as a whole, meaning that once your Server/VHost reaches this limit then all users will recieve an error, be redirected, or speeds decreased. This directive does not work on a per user basis. While mod_cband does include directives on a per user basis, those directives are still for bandwidth quotas, not max download size quotas.
The other 2 samples of code do what I want (redirect), but I need to accomplish Step 1 (file size limit) before worrying about Step 2 (redirecting those who have exceeded their limit).
I've done several hours reading up on mod_cband, and I have it incorporated in my VHosts, but it does not provide a solution for what I want to do.
To clarify. I do not care about how fast a user downloads, this is NOT my goal. My goal is to set a maximum limit on total SIZE that a user can download per day (for specific file types), NOT throttling or limiting their bandwidth.