From 34ee235d738a7a17efb5081b1afd2a31d92d287a Mon Sep 17 00:00:00 2001 From: ivanr Date: Sun, 13 Dec 2009 08:43:56 +0000 Subject: [PATCH] Change SECACTION_TARGETS and SECMARKET_TARGETS to REMOTE_ADDR --- apache2/modsecurity.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache2/modsecurity.h b/apache2/modsecurity.h index 3c3e3ceb..89fc6901 100644 --- a/apache2/modsecurity.h +++ b/apache2/modsecurity.h @@ -93,10 +93,10 @@ typedef struct msc_string msc_string; #define REQUEST_BODY_FORCEBUF_OFF 0 #define REQUEST_BODY_FORCEBUF_ON 1 -#define SECACTION_TARGETS "REQUEST_URI" +#define SECACTION_TARGETS "REMOTE_ADDR" #define SECACTION_ARGS "@unconditionalMatch" -#define SECMARKER_TARGETS "REQUEST_URI" +#define SECMARKER_TARGETS "REMOTE_ADDR" #define SECMARKER_ARGS "@noMatch" #define SECMARKER_BASE_ACTIONS "t:none,pass,id:"