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
Get professional help with your configuration, script installation or server issue. Learn how we can help you with any server problem and make your server run like new. Professional staff will contact you, after submitting a quote request, by phone or email.
Rate this Article :
1
2
3
4
5
6
7
8
9
10
Poor
Excellent
Discuss this article with others in our new hosting forums
Comments / Feedback
Breno Martins
How does to configure to limit it number of connections of a certain folder?
Norman
Great tutorial.
Does someone know howto edit the disk space exceeded page.
oliver
hello I mail you for a little problem
I followed your help on :
http://www.webhostgear.com/9.html
Modify Bandwidth Exceeded Page
I have the change in /usr/local/cpanel/apache/mod_bwlimited.c but I already got the same message...
I reloaded Apache /etc/init.d/httpd restart and /etc/init.d/bandmin start stop.
always the same problem...
tell me more please;)
thanks a lot
Muxa
Hello!
I have problem. CPanel does not show BANDWIDTH USAGE. Can you tell why? What I have to do?
Thank you.
naox
this does not work for me. No matter what I put into /usr/local/cpanel/apache/mod_bwlimited.c nothing changes on Bandwidth Limit Exceeded page
WebHostGear Hire an Expert - NEW! Let us improve your servers performance, find that spammer and take care of that kernel upgrade. Hire us to help with any tutorials listed on the site or any other services needed. Get your free, NO obligation quote now
Our site offers free hosting tutorials, cpanel tutorial, web hosting news, shell commands, running a web hosting business, dedicated guides, linux tutorial, apache install, home web server, web server guide, ssh commands, dedicated servers, DNS nameservers, chkrootkit, apf firewall, exim configuration, server compromised, cron backup solution, ftp backup script
How does to configure to limit it number of connections of a certain folder?