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.

Bandwidth Limit

Discussion in 'General Discussion' started by persianwhois, Jul 13, 2007.

  1. persianwhois

    persianwhois Well-Known Member

    Joined:
    Apr 18, 2007
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mahallat
    cPanel Access Level:
    Root Administrator
    how can limit bandwidth to following changes in httpd.conf?
    BandWidthModule On
    BandWidth all 1024


    Code:
    <VirtualHost 205.234.141.135>
    ServerAlias mymizban.net
    ServerAdmin webmaster@mymizban.net
    DocumentRoot /home/mizban/public_html
    BandWidthModule On
    BandWidth all 1024
    BytesLog domlogs/mymizban.net-bytes_log
    User iranians
    Group mizban
    
    <IfModule mod_userdir.c>
      Userdir disabled
      Userdir enabled mizban
    </IfModule>
    
    <IfModule mod_php4.c>
      php_admin_value open_basedir
    "/home/mizban:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>
    <IfModule mod_php5.c>
      php_admin_value open_basedir
    "/home/mizban:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>
    
    User mizban
    Group mizban
    CustomLog /usr/local/apache/domlogs/mymizban.net combined
    ScriptAlias /cgi-bin/ /home/mizban/public_html/cgi-bin/
    
    </VirtualHost>
     
  2. jandafields

    jandafields Well-Known Member

    Joined:
    May 6, 2004
    Messages:
    426
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    If you want to limit bandwidth, just use the option in whm.
     
Loading...

Share This Page