Chapter 3: Condition Reference

;Relative URLs, such as docs subdirectories and pages, will match. deny request.header.Referer.url=http://www.example.com/docs

;Test if the Referer URL host’s IP address is a match. request.header.Referer.url.address=10.1.198.0

;Test whether the Referer URL includes company.com as domain. request.header.Referer.url.domain=company.com

;Test whether the Referer URL includes .com. request.header.Referer.url.domain=.com

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

;and block service. Relative URLs, such as docs

;subdirectories and pages, will match.

deny request.header.Referer.url.domain=company.com/docs

;examples of the use of request.header.Referer.url.extension= request.header.Referer.url.extension=.txt request.header.Referer.url.extension=(.htm, .html) request.header.Referer.url.extension=(img, jpg, jpeg)

;This example matches the first Referer header value and doesn’t match the second from

;the following two requests:

;1) Referer: http://1.2.3.4/test

;2) Referer: http://www.example.com

<proxy>

request.header.Referer.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:

;1) Referer: http://1.2.3.4/

;2) Referer: http://mycompany.com/

;If the reverse DNS fails then the first request is not matched

119

Page 119
Image 119
Blue Coat Systems Proxy SG manual 119