How I can install it in the httpd.conf?
I've tried this:
PerlLoadModule Apache::Quota
PerlSetVar QuotaFile /tmp/Apache-Quota.db
PerlSetVar QuotaLocker BerkeleyDB
<VirtualHost X.Y.Z.W>
ServerAlias site.com
...
<Location />
PerlSetVar QuotaLocationKey /
PerlSetVar QuotaType global
PerlSetVar QuotaPeriod 30d
PerlSetVar QuotaLimit 1M
PerlSetVar QuotaOnExceed deny
PerlFixupHandler Apache::Quota
</Location>
...
</VirtualHost>
But this don't start my apache ... | [reply] |
Are you running mod_perl? If not, you either need to install mod_perl or look at something in C, like mod_bandwidth. In my opinion, monitoring bandwidth is better done with one of the C modules because they'll be more lightweight.
| [reply] |
Have you tried apache/bin/apachectl configtest? (At least I think it's in apache/bin.)
Cheers,
Brent
| [reply] [d/l] [select] |