Skip to content

Commit a202c8e

Browse files
authored
Fix c-icap configuration example to add missing acl "all" (#25)
Without this "all" ACL definition in the c-icap.conf file, c-icap reports a fatal error when starting up: The acl spec all does not exists! The required acl spec 'all' is missing Fatal error while parsing config file: ... The line is: icap_access deny all This definition for the "all" ACL comes from the example in c-icap server configuration file: https://github.com/c-icap/c-icap-server/blob/C_ICAP_0.6.3/c-icap.conf.in
1 parent e9bd318 commit a202c8e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • docs/ConfigExamples/ContentAdaptation

docs/ConfigExamples/ContentAdaptation/C-ICAP.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Edit c-icap.conf as follows:
5757
ServicesDir /usr/local/lib/c_icap
5858
LoadMagicFile /usr/local/etc/c-icap.magic
5959

60+
acl all src 0.0.0.0/0.0.0.0
6061
acl localhost src 127.0.0.1/255.255.255.255
6162
acl PERMIT_REQUESTS type REQMOD RESPMOD
6263
icap_access allow localhost PERMIT_REQUESTS

0 commit comments

Comments
 (0)