mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
IIS: Creates IIS_VERSION definition
This definition is currently used in two different circumstances: Report with accuracy that the server is an IIS (status call), and also show the amount of loaded remote rules on the windows logs. Different from Apache which loads the rules twice, IIS just do it once.
This commit is contained in:
@@ -19,6 +19,11 @@ LIBS = $(APACHE)\lib\libhttpd.lib \
|
||||
###########################################################################
|
||||
###########################################################################
|
||||
|
||||
|
||||
!IF "$(IIS_BUILD)" == "yes"
|
||||
DEFS=$(DEFS) -DVERSION_IIS
|
||||
!ENDIF
|
||||
|
||||
CC = CL
|
||||
|
||||
MT = mt
|
||||
|
Reference in New Issue
Block a user