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