Forum Moderators: phranque
is possible use SetEnvIf in negative for invert conditional?
SetEnvIf Remote_Addr myipaddress trace_this_client/
is possible use SetEnvIf in negative for invert conditional?
SetEnvIf variable-type desired-value
SetEnvIf variable-type !unwanted-value
? No. The docs [httpd.apache.org] don't say so explicitly, so I experimented. A ! in this position is interpreted as a literal exclamation mark, which is rare but not impossible in a request. SetEnvIf Remote_Addr ^128\.30\.52 !keep_out SetEnvIf Remote_Addr myipaddress !trace_this_client SetEnvIf Remote_Addr myipaddress ignore_this_client
ExtFilterDefine fixtext1 mode=output intype=text/html cmd="/bin/sed s/findstring/replacestring/g" EnableEnv=trace_this_client
SetEnvIf Host parking\.hostname\.com trace_this_client
SetOutputFilter fixtext1