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

Discussion in 'General Discussion' started by big, Feb 23, 2005.

  1. big

    big Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Earth
    i noticed the following:
    #define BWROOT "/var/cpanel/bwlimited"
    #define BWLIMITHTML "/usr/local/cpanel/etc/bwlimit.html"
    #define HTTP_BANDWIDTH_LIMIT_EXCEEDED 509

    anyone knows what does #define BWLIMITHTML "/usr/local/cpanel/etc/bwlimit.html" do?

    i tried modifing it but didnt do anything
     
  2. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    this defines where the module goes to look for the Bandwidth Limit Exceeded page. you need to recompile the module after modifying it.
     

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