| 1 |
@subheading @anchor{MySQLRatios} MySQLRatios |
| 2 |
|
| 3 |
@format |
| 4 |
Syntax: MySQLRatios on |
| 5 |
Syntax: MySQLRatios frate-field fcred-field brate-field bcred-field |
| 6 |
Default: off, or (@samp{frate fcred brate bcred}) if fields unspecified. |
| 7 |
Context: server config |
| 8 |
Compatibility: only available with the Debian package. |
| 9 |
@end format |
| 10 |
|
| 11 |
Activates support for retrieving per-user ratios from the database. To |
| 12 |
use this feature, @samp{SQLUserTable} (mod_sql) and @samp{Ratios on} |
| 13 |
(mod_ratios) directives are needed. |
| 14 |
|
| 15 |
For this to work you need to compile with -DMOD_MYSQL_RATIOS, and use |
| 16 |
mod_ratio version 2.0 or better. The latest version is not included |
| 17 |
with stock ProFTPD, but the Debian package has it compiled in. |