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_bandwidth.c don't work

Discussion in 'General Discussion' started by upsforum, Aug 20, 2007.

  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    464
    Likes Received:
    0
    Trophy Points:
    166
    I installed mod_bandwidth but it don't work, I insert in httpd.conf this rows:

    <IfModule mod_bandwidth.c>
    BandWidthModule On
    <Directory "/home/user/public_html">
    MaxConnection 2
    BandWidth all 225000
    </Directory>
    </IfModule>

    But the website is normality
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have tried to add this in the virtual host:

    <IfModule mod_bandwidth.c>
    <Directory "/home/username/public_html">
    BandWidthModule On
    BandWidth all 8000000
    </Directory>
    </IfModule>
    </VirtualHost>

    I also tried the script:

    /scripts/setbwlimit –domain=example.com –limit=8000000

    Can someone please clear up simply how to use mod_bandwidth with cpanel and apache 2.0.

    Thank you!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Also it would be nice if anyone knew of a code to check if mod bandwidth was installed correctly. "Service httpd status" type thing for mod_bandwidth
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    I just found out mod_bandwidth does not work with Apache 2.0

    That explains a lot!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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