in reply to Re: bandwidth Apache Module
in thread bandwidth Apache Module

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 ...

Replies are listed 'Best First'.
Re^3: bandwidth Apache Module
by perrin (Chancellor) on Feb 19, 2007 at 22:11 UTC
    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.
Re^3: bandwidth Apache Module
by dorko (Prior) on Feb 20, 2007 at 01:28 UTC
    Have you tried apache/bin/apachectl configtest? (At least I think it's in apache/bin.)

    Cheers,

    Brent

    -- Yeah, I'm a Delt.