/
interchange.cfg.dist
114 lines (81 loc) · 3.05 KB
/
interchange.cfg.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#========================================================================#
# interchange.cfg
# See 'icconfig' document for details.
#========================================================================#
# These settings all affect other configuration directives below.
AutoVariable Windows LockType
# Set to 1 to include back-end administration interface.
Variable UI 1
# Set to "low", "high", or "rpc" to get different server parameters.
Variable TRAFFIC low
# Set to 1 to send extra debugging info to file /tmp/icdebug
# and get a dump of global and catalog data structures.
#Variable DEBUG 1
#========================================================================#
# Set up individual catalogs here.
#Catalog store /var/lib/interchange/store /cgi-bin/store
#========================================================================#
# This is a new option that ignores C-style directives like #ifdef,
# #endif, #include, and only parses plain ifdef, endif, include, etc.
# It can be turned on and off repeatedly as needed. When it's off,
# you can now be confident that a line starting with a # is a comment.
# This directive affects the entire global configuration, so check any
# files you include if you're upgrading.
ConfigParseComments No
Environment MOD_PERL
# Prevent arbitrary [file ...] and [include ...] among other things.
NoAbsolute Yes
#========================================================================#
ifdef @DEBUG
Message Sending debug to /tmp/icdebug.
DebugFile /tmp/icdebug
# A few simple tests ...
GlobalSub sub test_global_sub { return 'Test of global subroutine OK.' }
Variable TEST_VARIABLE Test of global variable OK.
# Dump global and catalog data structures to a text file at startup time.
# See {ConfDir}/interchange.structure and {CatRoot}/{CatName}.structure.
DumpStructure Yes
# This logs DBI calls to your DebugFile.
# It's commented out by default because it generates a lot of messages.
#DataTrace 1
endif
#========================================================================#
ifdef TRAFFIC =~ /low/i
Message Low traffic settings.
HouseKeeping 3
MaxServers 5
PIDcheck 300
endif
ifdef TRAFFIC =~ /high/i
Message High traffic settings.
HouseKeeping 2
MaxServers 10
PIDcheck 120
endif
ifdef TRAFFIC =~ /rpc/i
Message RPC traffic settings.
PreFork Yes
StartServers 5
MaxRequestsPerChild 100
HouseKeeping 2
PIDcheck 120
endif
#========================================================================#
# Set this so cookies are issued only for the current catalog, not for
# the whole base domain.
Mall Yes
# Additional Safe operations to untrap beyond the standard "ftfile sort".
SafeUntrap rand
TcpMap 7786 -
# Include back office administration UI if variable set above.
ifdef UI
Message -i -n Calling UI...
include lib/UI/ui.cfg
endif
## This is only needed if you use Net::SMTP instead of
## sendmail or clones
Variable MV_SMTPHOST smtp
# Include individual usertags.
include usertag/*.tag
# Include if you want non-English error messages. Not complete.
# include locale.error