1 |
dpavlin |
1 |
# global configuration file (used by all2xml.pl and webpac.cgi) |
2 |
|
|
|
3 |
|
|
[global] |
4 |
|
|
# define database to use for indexes |
5 |
|
|
dbi_dbd=Pg |
6 |
|
|
dbi_dsn=dbname=libdata |
7 |
|
|
|
8 |
|
|
dbi_user=dpavlin |
9 |
|
|
dbi_passwd="" |
10 |
|
|
|
11 |
|
|
[webpac] |
12 |
|
|
# path to template html files |
13 |
|
|
template_html = /data/szi/template_html |
14 |
|
|
# charset encoding for template file *and* users (default iso-8859-1) |
15 |
|
|
charset = ISO-8859-2 |
16 |
|
|
# path to swish binary (default /usr/bin/swish-e) |
17 |
|
|
swish = /usr/bin/swish-e |
18 |
|
|
# path to index file |
19 |
|
|
index = /data/webpac/index/webpac.index |
20 |
|
|
# this is hard-coded maximum hits for ALL user. (default 0=disable) |
21 |
|
|
max_hits = 0 |
22 |
|
|
# number of results on each pager page (default 10) |
23 |
|
|
on_page = 30 |
24 |
|
|
# Minimum number of characters which will be will suplemented by |
25 |
|
|
# wildcard * to find all words which begin with those letters, |
26 |
|
|
# This should be at least 1, so that queries with non-alpha characters |
27 |
|
|
# like "&" would work. However, larger values also make sense to produce |
28 |
|
|
# more relevant hits on words like "to", "at" etc. |
29 |
|
|
min_wildcard = 2 |
30 |
|
|
# master template which will be used to enable global design changes |
31 |
|
|
# (it will replace ##webpac## in this template with output of webpac) |
32 |
|
|
template = /data/webpac/public_html/template.html |
33 |
|
|
|