1 | # This is the main configuration file for configuring
|
---|
2 | # your Greenstone receptionist (i.e. the bit responsible
|
---|
3 | # for the way things are displayed).
|
---|
4 |
|
---|
5 | # Email address of the webmaster of this Greenstone installation
|
---|
6 | # If maintainer is set to "NULL" EmailEvents and EmailUserEvents
|
---|
7 | # will be disabled.
|
---|
8 | maintainer NULL
|
---|
9 |
|
---|
10 | # Outgoing (SMTP) mail server for this Greenstone installation.
|
---|
11 | # This will default to mail.maintainer-domain if it's not set
|
---|
12 | # (i.e. if maintainer is [email protected] then MailServer
|
---|
13 | # will default to mail.cs.waikato.ac.nz). If MailServer doesn't
|
---|
14 | # resolve to a valid SMTP server then the EmailEvents and
|
---|
15 | # EmailUserEvents options (see below) won't be functional. Likewise,
|
---|
16 | # turning off EmailEvents and EmailUserEvents will remove any
|
---|
17 | # reliance on MailServer.
|
---|
18 | MailServer NULL
|
---|
19 |
|
---|
20 | # Set status to "disabled" if you don't want the Maintenance and
|
---|
21 | # Administration facility to be available.
|
---|
22 | status enabled
|
---|
23 |
|
---|
24 | # Set collector to "disabled" if you don't want the "collector"
|
---|
25 | # end-user collection building facility to be available.
|
---|
26 | collector enabled
|
---|
27 |
|
---|
28 | # Set logcgiargs to true to keep a log of usage information in
|
---|
29 | # $GSDLHOME/etc/usage.txt.
|
---|
30 | logcgiargs false
|
---|
31 |
|
---|
32 | # Set usecookies to true to use cookies to identify users (cookie
|
---|
33 | # information will be written to the usage log if logcgiargs is
|
---|
34 | # true).
|
---|
35 | usecookies false
|
---|
36 |
|
---|
37 | # LogDateFormat sets the format that timestamps will be stored in the usage
|
---|
38 | # log (i.e. if logcgiargs is enabled). It takes the following values:
|
---|
39 | LocalTime: (the default) The local time and date in the form
|
---|
40 | "Thu Dec 07 23:47:00 NZDT 2000".
|
---|
41 | UTCTime: Coordinated universal time (GMT) in the same format as LocalTime.
|
---|
42 | Absolute: Integer value representing the number of seconds since
|
---|
43 | 00:00:00 1/1/1970 GMT
|
---|
44 | LogDateFormat LocalTime
|
---|
45 |
|
---|
46 | # Log any events that Greenstone deems important in
|
---|
47 | # $GSDLHOME/etc/events.txt.
|
---|
48 | # The only events that are currently implemented come from the
|
---|
49 | # collector (e.g. someone just built/deleted the following collection)
|
---|
50 | # LogEvents may take values of:
|
---|
51 | # AllEvents: All important events
|
---|
52 | # CollectorEvents: Just those events originating from the collector
|
---|
53 | # (e.g. someone just built a collection)
|
---|
54 | # Disabled: Don't log events
|
---|
55 | LogEvents Disabled
|
---|
56 |
|
---|
57 | # Email the maintainer whenever any event occurs. EmailEvents
|
---|
58 | # takes the same values as LogEvents.
|
---|
59 | # Note that perl must be installed for EmailEvents or
|
---|
60 | # EmailUserEvents to work.
|
---|
61 | EmailEvents Disabled
|
---|
62 |
|
---|
63 | # In some cases it may be appropriate to email the user about a
|
---|
64 | # certain event (e.g. notification from the collector that a collection
|
---|
65 | # was built successfully)
|
---|
66 | EmailUserEvents false
|
---|
67 |
|
---|
68 |
|
---|
69 | # The list of display macro files used by this receptionist
|
---|
70 | macrofiles tip.dm style.dm base.dm query.dm help.dm pref.dm \
|
---|
71 | about.dm document.dm status.dm authen.dm \
|
---|
72 | users.dm html.dm extlink.dm delhistory.dm \
|
---|
73 | gsdl.dm english.dm chinese.dm french.dm german.dm maori.dm \
|
---|
74 | english2.dm french2.dm arabic.dm spanish.dm dutch.dm \
|
---|
75 | port.dm home.dm collect.dm
|
---|
76 |
|
---|
77 | # Define any additional page parameters to be used by the above macro files
|
---|
78 | # (the current default page parameters are c (collection) and l (language)
|
---|
79 |
|
---|
80 | # Define v (version -- text or graphic) page parameter and give it a default
|
---|
81 | # value of 0 (0 = text version off)
|
---|
82 | pageparam v 0
|
---|
83 |
|
---|
84 | # Set the precedence given to the page parameters. This effects which macro
|
---|
85 | # will be selected for display when there are multiple versions of the same
|
---|
86 | # macro with different page parameters.
|
---|
87 | # e.g. Given a macroprecedence of "c,v,l" and the following macro definitions:
|
---|
88 | # _content_ []
|
---|
89 | # _content_ [l=en]
|
---|
90 | # _content_ [c=demo]
|
---|
91 | # _content_ [v=1]
|
---|
92 | # _content_ [l=fr,v=1,c=hdl]
|
---|
93 | # If the corresponding cgi arguments were set to l=en&v=1&c=hdl then the
|
---|
94 | # _content_[v=1] macro would be selected for display. It would be selected
|
---|
95 | # ahead of the _content_[l=en] macro because "v" has a higher precedence
|
---|
96 | # than "l". The _content_[l=fr,v=1,c=hdl] macro would not be selected
|
---|
97 | # because one of the page parameters is completely wrong ("l").
|
---|
98 | macroprecedence c,v,l
|
---|
99 |
|
---|
100 |
|
---|
101 | # Define any additional cgi arguments. Most cgi arguments are built into
|
---|
102 | # Greenstone but it's possible to define them here (or set defaults for
|
---|
103 | # existing built-in cgi arguments).
|
---|
104 |
|
---|
105 | # define the "v" cgi argument (to correspond to the "v" page parameter defined
|
---|
106 | # above).
|
---|
107 | cgiarg shortname=v longname=version multiplechar=false argdefault=0 \
|
---|
108 | defaultstatus=weak savedarginfo=must
|
---|
109 |
|
---|
110 | # set a default value for the built-in "a" cgi argument
|
---|
111 | cgiarg shortname=a argdefault=p
|
---|
112 |
|
---|
113 | # set a default value for the built-in "p" cgi argument
|
---|
114 | cgiarg shortname=p argdefault=home
|
---|