Backup original file:
Edit the file:cp -Rp /home/cpeasyapache/src/mod_bwlimited.c /home/cpeasyapache/src/mod_bwlimited.c.bak;cp -Rp /usr/local/apache/modules/mod_bwlimited.so /usr/local/apache/modules/mod_bwlimited.so.bak
find: The server is temporarily unable to servicevi /home/cpeasyapache/src/mod_bwlimited.c
and edit that lines around that. I was able to use html tags like <br /> to add line breaks or <a href=http...>). Make sure not to use quotation marks so you do not break the code.
Save changes (Esc key, :wq , enter key)
Compile the file:
restart httpd:/usr/local/apache/bin/apxs -iac /home/cpeasyapache/src/mod_bwlimited.c
Now the bandwidth limit exceeded page should be working fine, veriffy that.service httpd stop;service httpd start;service httpd status
--------
In case something went wrong during file editting, restore backup file:
and then recompile file and restart htttpd:cp -Rpf /home/cpeasyapache/src/mod_bwlimited.c.bak /home/cpeasyapache/src/mod_bwlimited.c
/usr/local/apache/bin/apxs -iac /home/cpeasyapache/src/mod_bwlimited.cservice httpd stop;service httpd start;service httpd status
Bookmarks