User Guide

Table Of Contents
Appendix A 51
The [icapserver.groups] section contains the default group parameters:
Priority – group priority. If request parameters match several groups then
the processing will use the rules of the group with the highest priority.
ClientIP – IP address of the client that has requested an object through
proxy. Objects requested from a specified IP address and located at an
address defined by the URL parameter will be processed using the
rules of this group. The following information can be used to specify the
value for the ClientIP parameter:
IP addresses
ClientIP=192.168.12.1
Network addresses
ClientIP=192.168.12.0/24
ClientIP=192.168.12.1/255.255.255.0
Regular expressions are also allowed as the values, e.g.:
ClientIP=^192\.168\.12\..*
- the value will represent all addresses within the 192.168.12.0
192.168.12.255 range.
To define different IP addresses, you can specify the ClientIP parameter
several times, for example:
[icapserver.groups]
ClientIP=192.168.20.1/24
ClientIP=192.168.30.1
URL – URL of a requested object. Objects with a specified URL and
requested from an IP address defined by the ClientIP parameter will be
processed using the rules of this group.
While a URL has to be specified, you should enter the
^ . [ $ ( ) | * + ? { \ symbols between the \. escape characters.
Thus, for example, the correct form of the www.example.com
address will look as follows:
URL=www\.example\.com
The notation is compliant with the POSIX Extended Regular
Expression syntax.