Force (SSL) secure logins in WHM and Cpanel Published: Oct 28, 2003
  • Rating

    0/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

    0/5

Related Articles

Comments (3)

  • Gravatar - Duntuk
    Duntuk 19:38, February 1, 2004
    excellent article...

    simple and straight to the point...
  • Gravatar - Jodawi
    Jodawi 16:56, January 8, 2006
    Should probably also change /controlpanel and other such aliases
  • Gravatar - anon
    anon 18:08, October 12, 2006
    newer versions of cpanel already have this feature if you enable it in whm

Add Your Thoughts

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

Copyright © 1998-2019 WebHostGear.com