Upgrade Guide From Red Hat 7.3 to 9.0 Published: Nov 05, 2003
  • Rating

    4/5

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

    4/5

Related Articles

Comments (3)

  • Gravatar - newbie
    newbie 22:53, November 14, 2003
    how do you trouble shoot any errors that pop up? where can I find a resource to explain all of this to me?
  • Gravatar - ThaPhantom
    ThaPhantom 17:51, January 22, 2004
    Dont forget to run:
    /scripts/upcp
    /scripts/fixeveryting
    after this if you use cPanel so that can also be updated!
  • Gravatar - Flux
    Flux 23:48, May 22, 2004
    Once i have done this will cpanel and users be lost?

Add Your Thoughts

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

Copyright © 1998-2022 WebHostGear.com