The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    446
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  2. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    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!
     
  3. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    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
     
  4. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

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

    That explains a lot!
     
Loading...

Share This Page