Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:waf:standalone [2019/01/24 15:54]
Jackson Zhang [Download and Extract Rules]
litespeed_wiki:waf:standalone [2019/01/24 16:18]
Jackson Zhang [Add WAF Rule Set]
Line 37: Line 37:
 </​code>​ </​code>​
  
-This will download Comodo Litespeed rules, and move ''​rules.conf.main''​ to ''​rules.conf''​. This is the file we will reference in the WebAdmin console.+This will download Comodo Litespeed rules, and move ''​rules.conf.main''​ to ''​rules.conf''​. This is the master ​file including all rules. You can reference in the WebAdmin console ​for this master file.
  
-Rules.conf.main file is like the following and it is a master file to include all rules. ​If some commercial rules set or your own rules set does not have such a master file, you can either ​include rule with absolute path one by one by yourself or make a master file to include all rules with full path.+=====Add WAF Rule Set===== 
 + 
 +Navigate to **Configuration > Server > Security > WAF Rule Set** 
 + 
 +{{ :​litespeed_wiki:​waf:​waf-ruleset.png?600 |}} 
 + 
 +Click **Add** to edit the **WAF Rule Set** 
 + 
 +{{ :​litespeed_wiki:​waf:​waf-settings.png?​600 |}} 
 + 
 +  * **Name**: ''​Comodo Litespeed''​ 
 +  * **Action**: ''​None''​ 
 +  * **Enabled**:​ ''​Yes''​ 
 +  * **Rules Definition**:​ ''​Include $SERVER_ROOT/​conf/​comodo_litespeed/​rules.conf''​ 
 + 
 +Click **Save** ​to activate the rules. 
 + 
 +At ''​Rules Definition''​, you can include ​as many rule files as you like.  
 + 
 +Comodo ''​Rules.conf.main''​ file is Comodo ​master file to include all rules in orderIt is like the following:
  
   Include 00_Init_Initialization.conf   Include 00_Init_Initialization.conf
Line 73: Line 92:
   Include 30_Apps_OtherApps.conf   Include 30_Apps_OtherApps.conf
  
 +If some commercial rules set (like Atomic rule set) or your own rules set which does not have such a master file, you can either include rules with absolute path one by one by yourself at ''​Rules Definition'',​ or make a master file to include all rules with full path then include only one master file at ''​Rules Definition''​. ​
  
 +For mod_security multi-rule files inclusion, rule files must be included as the right order to make them work properly. ​
  
-=====Add WAF Rule Set===== 
  
-Navigate to **Configuration > Server > Security > WAF Rule Set** 
- 
-{{ :​litespeed_wiki:​waf:​waf-ruleset.png?​600 |}} 
- 
-Click **Add** to edit the **WAF Rule Set** 
- 
-{{ :​litespeed_wiki:​waf:​waf-settings.png?​600 |}} 
- 
-  * **Name**: ''​Comodo Litespeed''​ 
-  * **Action**: ''​None''​ 
-  * **Enabled**:​ ''​Yes''​ 
-  * **Rules Defination**:​ ''​Include $SERVER_ROOT/​conf/​comodo_litespeed/​rules.conf''​ 
- 
-Click **Save** to activate the rules. 
  
 =====Enable Firewall===== =====Enable Firewall=====
  • Admin
  • Last modified: 2019/01/24 21:16
  • by Lisa Clarke