000013050 - AxM - Rules.xml does not recognize 'REMOTE_ADDR' of Header's argument

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000013050
Applies ToAccess Manager V4.7 Web Agent for Apache
2003 Server
IssueAxM - 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.

<Rule>
  <argument type="Header" argument="REMOTE_ADDR" expression="192.168.10.11"/>
  <action type="HTTP" argument="404"/>
</Rule>

CauseDue 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.
ResolutionREMOTE_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.
NotesFor additional information on rules.xml and acceptable argunents, reference solution a40236 
Legacy Article IDa45246

Attachments

    Outcomes