1 |
#***************************************************************************** |
2 |
# Copyright (C) 1993-1997, FS Consulting Inc. All rights reserved * |
3 |
# * |
4 |
# This notice is intended as a precaution against inadvertent publication * |
5 |
# and does not constitute an admission or acknowledgement that publication * |
6 |
# has occurred or constitute a waiver of confidentiality. * |
7 |
# * |
8 |
# This software is the proprietary and confidential property * |
9 |
# of FS Consulting. * |
10 |
#***************************************************************************** |
11 |
|
12 |
#-------------------------------------------------------------------------- |
13 |
# |
14 |
# Configuration file for search interface to the search script './Search.cgi' |
15 |
# |
16 |
|
17 |
|
18 |
#-------------------------------------------------------------------------- |
19 |
# |
20 |
# Author: Francois Schiettecatte (FS Consulting) |
21 |
# Creation Date: 9/2/96 |
22 |
# |
23 |
|
24 |
|
25 |
#-------------------------------------------------------------------------- |
26 |
# |
27 |
# Description: |
28 |
# |
29 |
# This configuration file sets all the options that the Search script needs. |
30 |
# |
31 |
|
32 |
|
33 |
#-------------------------------------------------------------------------- |
34 |
# |
35 |
# Part 1: Interface configuration |
36 |
# |
37 |
|
38 |
|
39 |
# User accounts directory (optional) |
40 |
# |
41 |
# This is the directory where the user accounts will reside. |
42 |
# The user account will have the same name as the user name |
43 |
# as defined by the http server environment REMOTE_USER |
44 |
# environment variable. The user account directory will be |
45 |
# created if it does not exist. |
46 |
# |
47 |
user-accounts-directory=/local/search/accounts |
48 |
|
49 |
|
50 |
|
51 |
# Site Admin URL (optional) |
52 |
# |
53 |
# This is the URL which is used to send feedback to a site |
54 |
# administrator if a problem occurs. |
55 |
# |
56 |
site-admin-url=mailto:mglavica@ffzg.hr |
57 |
|
58 |
|
59 |
|
60 |
# Database description file (optional) |
61 |
# |
62 |
# This points to the database descriptions file which contains: |
63 |
# |
64 |
# - database directory name to database description mappings |
65 |
# |
66 |
database-description-file=/local/search/databases.cf |
67 |
|
68 |
|
69 |
|
70 |
|
71 |
# Maximum score (optional) |
72 |
# |
73 |
# This sets the maximum score that will be given to a |
74 |
# document. This must be a whole number, such as 1000 |
75 |
# or 100. |
76 |
# |
77 |
# (default = 1000) |
78 |
# |
79 |
max-score=100 |
80 |
|
81 |
|
82 |
|
83 |
# Display summaries (optional) |
84 |
# |
85 |
# This sets whether the users are allowed to display |
86 |
# summaries or not. |
87 |
# |
88 |
# (default = no) |
89 |
# |
90 |
#allow-summary-displays=yes |
91 |
|
92 |
|
93 |
|
94 |
# Similar search (optional) |
95 |
# |
96 |
# This sets whether the users are allowed to run searches |
97 |
# for similar documents when displaying that document or not. |
98 |
# |
99 |
# (default = no) |
100 |
# |
101 |
# allow-similiar-search=yes |
102 |
|
103 |
|
104 |
|
105 |
# Relevance feedback searches (optional) |
106 |
# |
107 |
# This sets whether the users are allowed to perform |
108 |
# relevance feedback based searches. |
109 |
# |
110 |
# (default = no) |
111 |
# |
112 |
#allow-relevance-feedback-searches=yes |
113 |
|
114 |
|
115 |
|
116 |
|
117 |
# Regular searches (optional) |
118 |
# |
119 |
# This sets whether the users are allowed to set up regular |
120 |
# searches or not. |
121 |
# |
122 |
# (default = no) |
123 |
# |
124 |
allow-regular-searches=yes |
125 |
|
126 |
|
127 |
|
128 |
# Deliver empty results from regular search (optional) |
129 |
# |
130 |
# This sets whether the system will deliver an email to the |
131 |
# user if no new documents are returned from a regular search. |
132 |
# |
133 |
# (default = no) |
134 |
# |
135 |
deliver-empty-results-from-regular-search=no |
136 |
|
137 |
|
138 |
|
139 |
# Guest account name (optional) |
140 |
# |
141 |
# This sets a special user name which will set the search interface |
142 |
# into 'guest' mode, ie the user will not have search history, not be |
143 |
# able to save a search and not be able to set settings. This is |
144 |
# useful for defining a guest account when authentication is enabled |
145 |
# in the httpd server and we still want to provide a guest account. |
146 |
# |
147 |
# (no defaults) |
148 |
# |
149 |
#guest-account-name=guest |
150 |
|
151 |
|
152 |
|
153 |
|
154 |
#-------------------------------------------------------------------------- |
155 |
# |
156 |
# Part 2: HTML file locations |
157 |
# |
158 |
|
159 |
|
160 |
# Script URL (optional) |
161 |
# |
162 |
# This is the URL which points to the cgi script, it is |
163 |
# used to point the user back to the site when they get |
164 |
# email messages. This setting is required if the |
165 |
# 'allow-regular-searches' setting is set to 'yes'. |
166 |
# |
167 |
script-url=http://mjesec.ffzg.hr/search/Search.cgi |
168 |
|
169 |
|
170 |
|
171 |
# HTML files directory (required) |
172 |
# |
173 |
# This is the directory in which we store the HTML files. |
174 |
# |
175 |
html-directory=/local |
176 |
|
177 |
|
178 |
|
179 |
# Images base path (required) |
180 |
# |
181 |
# This is the base path of the images and gets appended |
182 |
# to the 'html-directory' configuration setting when |
183 |
# we check for the presence of images/icon files. |
184 |
# |
185 |
image-base-path=/search/images |
186 |
|
187 |
|
188 |
|
189 |
# Header html snippet file (optional) |
190 |
# |
191 |
# This is a pointer to the html snippet file which will be |
192 |
# used as the header to the html files generated. |
193 |
# |
194 |
#html-header-snippet-file=/local/search/snippets/header.html |
195 |
|
196 |
|
197 |
# Footer html snippet file (optional) |
198 |
# |
199 |
# This is a pointer to the html snippet file which will be |
200 |
# used as the header to the html files generated. |
201 |
# |
202 |
html-footer-snippet-file=/local/search/snippets/footer.html |
203 |
|
204 |
|
205 |
|
206 |
|
207 |
|
208 |
#-------------------------------------------------------------------------- |
209 |
# |
210 |
# Part 3: Log directory & temporary directory |
211 |
# |
212 |
|
213 |
# Logs directory (required) |
214 |
# |
215 |
# This is the directory in which we store the logs files. |
216 |
# |
217 |
logs-directory=/local/search/logs |
218 |
|
219 |
|
220 |
|
221 |
|
222 |
|
223 |
#-------------------------------------------------------------------------- |
224 |
# |
225 |
# Part 4: Database locations, server application & log |
226 |
# |
227 |
|
228 |
|
229 |
# Database directory (required) |
230 |
# |
231 |
# This is the directory which contains the databases. |
232 |
# |
233 |
database-directory=/local/index |
234 |
|
235 |
|
236 |
# Configuration directory (required) |
237 |
# |
238 |
# This is the directory which contains the configuration files. |
239 |
# |
240 |
configuration-directory=/local/index |
241 |
|
242 |
|
243 |
# Server log file (optional) |
244 |
# |
245 |
# This points to the mps server log file. |
246 |
# (default = mps.log) |
247 |
# |
248 |
server-log=mps.log |
249 |
|
250 |
|
251 |
|
252 |
|
253 |
|
254 |
#-------------------------------------------------------------------------- |
255 |
# |
256 |
# Part 5: Mail application |
257 |
# |
258 |
|
259 |
|
260 |
# Mailer application (optional) |
261 |
# |
262 |
# This points to the mailer application. |
263 |
# |
264 |
# (default = /usr/lib/sendmail) |
265 |
# |
266 |
mailer-application=/usr/lib/sendmail |
267 |
|
268 |
|
269 |
|