|c-icap(8)||System Manager's Manual||c-icap(8)|
c-icap - ICAP filtering server
c-icap [ -V ] [ -VV ] [ -f config-file ] [ -N ] [ -d debug-level ] [ -D ]
c-icap is an implementation of an ICAP server. It can be used with HTTP proxies that support the ICAP protocol. Most of the comercial HTTP proxies must support ICAP pcotocol.
In this file defined the types of files and the groups of file types.
Currently the following commands are implemented:
Services and modules can define their own commands.
Lookup tables are simple read-only databases. A lookup table can
defined in c-icap.conf file using the form:
where the type is the type of lookup table and path is the extra information required to use the table (e.g. file path). Currently the following lookup table types defined internally by c-icap:
- Simple text file databases. The database records are stored in text files in the form:
key[: value1, value2 ...]
- Similar to file lookup tables but c-icap uses fast hashes for searching.
- Similar to the file lookup tables but the keys are regular expressions in the form /regex/flags . For possible flags values please read 'Regex expressions' paragraph in this manual.
- example regex lookup table data:
- /^[a-m].*/i: group1
The c-icap regex expressions have the form /regex_definition/flags where "flags" is one or more letters, its of them express a flag.
expression matches. For example if the expression matches 5
times and the devined score value is 10 then the final score
will be 50.
and ^$ operators does not match newlines within data
Someone can retrieve runtime information using the info service. The information includes bytes received and transmited, active services, information about service usage and many other. The information provided in HTML and text format.