ProxySG Content Policy Language Guide

Applies to all non-administrator transactions.

Examples

;Test if the server URL includes this pattern, and block access.

;Relative URLs, such as docs subdirectories and pages, will match. server_url=http://www.example.com/docs access_server(no)

;Test if the URL host’s IP address is a match.

server_url.address=10.1.198.0

;Test whether the URL includes company.com as domain. server_url.domain=company.com

;Test whether the URL includes .com.

server_url.domain=.com

;Test if the URL includes this domain-suffix pattern,

;and block service. Relative URLs, such as docs

;subdirectories and pages, will match.

server_url.domain=company.com/docs access_server(no)

;examples of the use of server_url.extension= server_url.extension=.txt server_url.extension=(.htm, .html) server_url.extension=(img, jpg, jpeg)

;This example matches the first request and doesn’t match the second from

;the following two requests:

;http://1.2.3.4/test

;http://www.example.com

<forward>

server_url.host.is_numeric=yes

;In the example below we assume that 1.2.3.4 is the IP of the host mycompany

;The condition will match the following two requests if the reverse DNS was

;successful:

126

Page 126
Image 126
Blue Coat Systems Proxy SG manual Applies to all non-administrator transactions