c-icap/c-icap-0.1.5-conf.patch

47 lines
1.2 KiB
Diff
Raw Normal View History

diff -Nru c_icap-0.1.5.orig//c-icap.conf.in c_icap-0.1.5/c-icap.conf.in
--- c_icap-0.1.5.orig//c-icap.conf.in 2011-02-27 18:44:48.000000000 +0100
+++ c_icap-0.1.5/c-icap.conf.in 2011-04-27 12:49:00.615642808 +0200
@@ -119,6 +119,7 @@
# No value
# Example:
# User wwwrun
+User squid
# TAG: Group
# Format: Group groupname
@@ -129,6 +130,7 @@
# No value
# Example:
# Group nogroup
+Group squid
# TAG: ServerAdmin
# Format: ServerAdmin admin_mail
@@ -222,7 +224,7 @@
# It can be used more than once to use multiple magic files.
# Default:
# LoadMagicFile @prefix@/etc/c-icap.magic
-LoadMagicFile @prefix@/etc/c-icap.magic
+LoadMagicFile /etc/c-icap.magic
# TAG: RemoteProxyUsers
# Format: RemoteProxyUsers onoff
@@ -444,7 +446,7 @@
# information about the c-icap server.
# Default:
# ServerLog @prefix@/var/log/server.log
-ServerLog @prefix@/var/log/server.log
+ServerLog /var/log/c-icap/server.log
# TAG: AccessLog
# Format: AccessLog LogFile [LogFormat] [[!]acl1] [[!]acl2] [...]
@@ -459,7 +461,7 @@
# AccessLog @prefix@/var/log/access.log
# Example:
# AccessLog @prefix@/var/log/access.log MyFormat all
-AccessLog @prefix@/var/log/access.log
+AccessLog /var/log/c-icap/access.log
# TAG: Logger
# Format: Logger LoggerName