ProxySG Content Policy Language Guide
request.x_header.header_name.address=
Tests if the specified request header can be parsed as an IP address; otherwise, false. If parsing succeeds, then the IP address extracted from the header is tested against the specified IP address. The expression can include an IP address or subnet, or the label of a subnet definition block. This condition is intended for use with custom headers other than
Replaces: request_x_header.header_name.address=
Syntax
request.x_header.header_name.address= ip_addresssubnetsubnet_label
where:
•
•
•
•
Layer and Transaction Notes
•Use in <Cache> and <Proxy> layers.
Examples
;deny access if the request’s custom header “Local” has the value 10.1.198.0 deny request.x_header.Local.address=10.1.198.0
See Also
•Actions: append( ), delete( ), delete_matching( ), rewrite( ), set( )
•Conditions: request.header.header_name=, request.header.header_name.address=, response.x_header.header_name=
•Definitions: define subnet
122