ProxySG Content Policy Language Guide
define server_url.domain condition
Binds a
The manner in which the URL patterns and any condition expressions are listed is significant. Each line begins with a URL pattern and, optionally, one or more condition expressions, all of which have a Boolean AND relationship. Each line inside the definition block is considered to have a Boolean OR relationship with other lines in the block.
For more information about choosing the best way to test a request URL, see “Denying Access to URLs” in Chapter 9 of the Configuration and Management Guide.
Note: This condition is for use in the <Forward> layers and takes into account the effect of any rewrite( ) actions on the URL. Because any rewrites of the URL intended for servers or other upstream devices must be respected by <Forward> layer policy, conditions that test the unrewritten URL are not allowed in <Forward> layers. Instead, this condition is provided.
Syntax
define server_url.domain condition label domain_suffix_pattern [condition_expression ...]
...
end [server_url.domain condition label]
where:
•
•
•
The condition= condition is one of the expressions that can be included in the body of a define server_url.domain condition definition block, following a URL pattern. In this way, one server_url.domain definition block can call another
Layer and Transaction Notes
•Use in <Forward> layers.
•Applies to all transactions.
Example
define server_url.domain condition allowed inventory.example.com
258