Hello there
I have CentOS WHM/Cpanel server then switched from Apache to Litespeed
My Litespeed version is 5.3.7 (build 4)
But i found that modsecurity
I have installed Comodo ModSecurity LiteSpeed Rules using the following guide in order to test ModSecurity with Litespeed
https://help.comodo.com/topic-212-1-670-8350-.html
And it works when verified using any domain inside server
Till now Modsecurity working without any problem with LiteSpeed
Does ModSecurity
I uses the following rule
I have checked permissions & ownership of uploaded directory & scan script & no information within log files
I also have tried to include the privous rule directly to Comodo rules but also not working & no information within log files
Could anyone there help me ? the same rule was already working with Apache but doesnt work with litespeed !! also the same rule works if i switched to Apache !!
I have CentOS WHM/Cpanel server then switched from Apache to Litespeed
My Litespeed version is 5.3.7 (build 4)
But i found that modsecurity
@inspectFile
cannot applied to scan uploaded file, while if i switched to Apache it works without any problem !I have installed Comodo ModSecurity LiteSpeed Rules using the following guide in order to test ModSecurity with Litespeed
https://help.comodo.com/topic-212-1-670-8350-.html
And it works when verified using any domain inside server
Code:
http://mydomain.tld/?a=b AND 1=1
http://mydomain.tld/?cwaf_test_request=a12875a9e62e1ecbcd1dded1879ab06949566276
Does ModSecurity
@inspectFile
cannot be used with LiteSpeed ?I uses the following rule
Code:
SecRule FILES_TMPNAMES "@inspectFile /path/to/scan.sh" "phase:2,deny,redirect:http://domain.tld/denied.html,id:1"
I also have tried to include the privous rule directly to Comodo rules but also not working & no information within log files
Could anyone there help me ? the same rule was already working with Apache but doesnt work with litespeed !! also the same rule works if i switched to Apache !!
Last edited by a moderator: