This is an old revision of the document!


How to setup comodo on LiteSpeed Web Server with cPanel

Comodo is a Mod_Security rule set create by the Comodo Team. It provides real time protection for web apps running on the LiteSpeed Web Server

Signing-up for a Comodo User Account at here

 wget https://waf.comodo.com/cpanel/cwaf_client_install.sh
 sh cwaf_client_install.sh

Install step by step with prompt window

  1. Login WHM control panel, search comodo from search bar. You will see the main Comodo WAF Plugin Dashboard
  2. Click on tab Configuration and update your CWAF credentials
  3. Click on tab Main and update rule versions
  4. Then, you will see current rules version shows ``Latest version``
  1. After setup comodo, you may need to restart LiteSpeed Web Server
  2. To check CWAF for protection, send the request as shown below:
    http://$your_server/?a=b AND 1=1 , server will response 403 status code
cd /var/cpanel/cwaf
 bash /var/cpanel/cwaf/scripts/uninstall_cwaf.sh

Enter ansewer[y/n] y
Then Comodo WAF should be gone after that.

  • Admin
  • Last modified: 2017/09/05 15:44
  • by Eric Leu