mod_security - unknown server variable while parsing

DoM

Well-Known Member
#1
Hello,
on all litespeed server, if i use last mod_security rules from gotroot i obtain following messages on error_log:

2011-10-16 22:09:34.743 [ERROR] [config] rewrite: unknown server variable while parsing: REQBODY_ERROR
2011-10-16 22:09:34.743 [ERROR] [config] rewrite: unknown server variable while parsing: REQBODY_PROCESSOR_ERROR
2011-10-16 22:09:34.743 [ERROR] [config] rewrite: unknown server variable while parsing: MULTIPART_UNMATCHED_BOUNDARY
2011-10-16 22:09:34.743 [ERROR] [config] rewrite: unknown server variable while parsing: MULTIPART_STRICT_ERROR
2011-10-16 22:09:34.743 [ERROR] [config] rewrite: unknown server variable while parsing: FILES_TMPNAMES
2011-10-16 22:09:34.743 [ERROR] [config] rewrite: unknown server variable while parsing: WEBSERVER_ERROR_LOG
2011-10-16 22:09:35.021 [ERROR] [config] rewrite: unknown server variable while parsing: REQBODY_PROCESSOR_ERROR
2011-10-16 22:09:35.021 [ERROR] [config] rewrite: unknown server variable while parsing: FILES
2011-10-16 22:09:35.021 [ERROR] [config] rewrite: unknown server variable while parsing: FILES_NAMES
2011-10-16 22:09:35.021 [ERROR] [config] rewrite: unknown server variable while parsing: Transfer-Encoding)/'
2011-10-16 22:09:35.021 [ERROR] [config] rewrite: unknown server variable while parsing: RESPONSE_HEADERS:Content-Type
2011-10-16 22:09:35.022 [ERROR] [config] rewrite: unknown server variable while parsing: GLOBAL:UTF8_ENCODING_USED
2011-10-16 22:09:35.029 [ERROR] [config] rewrite: unknown server variable while parsing: RESPONSE_BODY

All those functions are not supported or yes ?


Waiting for your reply

Regards
 

mistwang

LiteSpeed Staff
#2
those request variables are not supported, related rule will be ignored.

LSWS does not produce REQBODY related error, and does not check against response header/body.
 

mistwang

LiteSpeed Staff
#4
"LSWS Request Filter" is the equivalent to "Apache mod_security".
vhost from Apache conf use rules from apache conf, LSWS native vhosts only use rules from LSWS native "Request Filter" configuration, but the backend engine is the same.
 
Top