WHMExt Review (Web Host Manager Extension) Published: Sep 05, 2005
  • Rating


Learn how to modify the CPanel bandwidth exceeded page when a clients site uses all their bandwidth up.

In this tutorial you will learn how to modify the Cpanel bandwidth exceeded page. This page is shown for clients automatically when they run out of bandwidth. Bandwidth counts are reset every month.

Step 1: Login to the server as root in SSH.

Step 2:  This will make a backup copy of the original file incase you need to revert back
cp /usr/local/cpanel/apache/mod_bwlimited.c /usr/local/cpanel/apache/mod_bwlimited.c.bak

Step 3: Then type:
 pico -w /usr/local/cpanel/apache/mod_bwlimited.c

Scroll down until you reach the section where you'll see the HTML code for the bandwidth page or do a search for it in Pico #: Ctrl+W   then paste this in: <HTML><HEAD>n<TITLE>509 Bandwidth Limit Exceeded</TITLE>

Change it to whatever you like... carefully.

Step 4: Save the file while still in pico #:
Crtl+X then Y

  • Rating


Related Articles

Comments (4)

  • Gravatar - Steve
    Steve 20:07, November 2, 2005
    This script doesn't configure the right ports for Cpanel as 2082 and others by default for APF! <br />
    <br />
    It also leaves DEVEL_MODE="1"<br />
  • Gravatar - Michael
    Michael 08:23, November 3, 2005
    Great article. Very informative. This is the kind of information a novice admin needs.
  • Gravatar - good thing... Dev mode 1
    good thing... Dev mode 1 06:50, November 10, 2005
    Its a good thing that the dev mode is left @ 1 <br />
    <br />
    you can still change it - but you wont be locked out of your box for more than 5 minutes.... <br />
    <br />
    I agree - should tell ya - but this is still beta no? <br />
    <br />
    nice stuff !
  • Gravatar - Nova
    Nova 01:09, July 27, 2007
    This was wrtten September 5, 2005. Are there any updates for 2007 and beyond?

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2019 WebHostGear.com