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