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
litespeed_wiki:config:mod_security_faq [2019/06/06 15:34]
qtwrk
litespeed_wiki:config:mod_security_faq [2019/06/06 15:41] (current)
qtwrk [Does LSWS Support "@inspectFile" ?]
Line 1: Line 1:
 ====== Mod Security FAQ for LiteSpeed Web Server ====== ====== Mod Security FAQ for LiteSpeed Web Server ======
  
-===== Does LSWS Support ​the "​@inspectFile"​ ? =====+===== Does LSWS Support "​@inspectFile"​ ? =====
  
-Yes, but please make sure that when use @inspectFile with 3rd-party scanner, the script returns ''​0''​ for block , and ''​1''​ for continue/​pass.+Yes, but please make sure when using @inspectFile with 3rd-party scanner, ​that the script returns ''​0''​ for block , and ''​1''​ for continue/​pass.
  
-Example code from mod_security ​[[https://​github.com/​SpiderLabs/​ModSecurity/​wiki/​Reference-Manual-%28v2.x%29#​inspectfile|reference manual]]:+Example code from the [[https://​github.com/​SpiderLabs/​ModSecurity/​wiki/​Reference-Manual-%28v2.x%29#​inspectfile|mod_security ​reference manual]]:
  
 <​code>​ <​code>​
Line 22: Line 22:
     $output = "1 clamscan: OK";     $output = "1 clamscan: OK";
 } }
 +print "​$output\n";​
 </​code>​ </​code>​
  
  • Admin
  • Last modified: 2019/06/06 15:34
  • by qtwrk