|Applies To||Access Manager V4.7 Web Agent for Apache|
|Issue||AxM - Rules.xml does not recognize "REMOTE_ADDR" of Header's argument|
When "REMOTE_ADDR" is used as an argument of type "Header" in the Rules.xml file for the agent for Apache, the rule is not matched correctly. In another statement when type "Header" argument "host" is used, the rule is matched.
|Cause||Due to architectural/design issues, in Apache. At the preprocessing level Apache does not have details of server variables and thus agent cannot get information about the same and process it.|
|Resolution||REMOTE_ADDR is a server variable and not a HTTP header. Agent only supports HTTP header variables to be used in rules.xml for Apache agent. The support for Server variable to be used in rules.xml is only there for IIS agent and not for other agents.|
|Notes||For additional information on rules.xml and acceptable argunents, reference solution a40236|
|Legacy Article ID||a45246|