ConfigServer ModSecurity Control (CMC)

All the files and install info you need since ConfigServer shut down on August 31st, 2025.

Step-by-Step Instructions

Copyright Notice

###############################################################################
# Copyright (C) 2006-2025 Jonathan Michaelson
#
# https://github.com/waytotheweb/scripts
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 3 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, see <https://www.gnu.org/licenses>.
###############################################################################
      

Step 1: Download and Install CMC

          
cd /usr/src
rm -fv /usr/src/cmc.tgz
wget http://fixyourwordpress.com/codex/CSF/cmc.tgz
tar -xzf cmc.tgz
cd cmc
sh install.sh
rm -Rfv /usr/src/cmc*
      
      

After running the installer, log in to WHM. Scroll to the bottom of the left-hand menu and you should see ConfigServer ModSecurity Control.

Step 2: Uninstalling CMC

          
cd /usr/src
rm -fv /usr/src/cmc.tgz
wget http://download.configserver.com/cmc.tgz
tar -xzf cmc.tgz
cd cmc
sh uninstall.sh
rm -Rfv /usr/src/cmc*
      
      

Note: This will not remove the mod_security files and rules. You will need to manually remove those from /usr/local/apache/conf/.