Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mod_Bw Configuration

Discussion in 'General Discussion' started by marcsanders, Feb 4, 2013.

  1. marcsanders

    marcsanders Registered

    Feb 4, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello Everyone,

    I am having a bit of trouble configuring Mod_BW with Cpanel. I am familiar with the install in a normal Apache environment, but Cpanel seems to be a bit more complicated due to the need to use configuration files.

    Normally, in a normal Apache without Cpanel setup, I would put this in httpd.conf:

    <Virtualhost *>
    BandwidthModule On
    ForceBandWidthModule On
    Bandwidth all 10240
    MinBandwidth all -1
    However, with Cpanel, it is necessary to use includes since httpd.conf is not directly editable.

    As such, I have created this directory as instructed by my httpd.conf file:

    Inside the folder, I create bwlimit.conf

    Inside bwlimit.conf, I have added the code above and then I run:

    /scripts/ensure_vhost_includes --all-users
    However, when I do this, it returns me multiple errors. Is there is an issue with my syntax and am I using the .conf files incorrectly?

    Any help would be appreciated.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice