1 |
dpavlin |
81 |
# global configuration file (used by all2xml.pl and webpac.cgi) |
2 |
dpavlin |
53 |
|
3 |
|
|
[global] |
4 |
|
|
# define database to use for indexes |
5 |
dpavlin |
133 |
# dbi_dbd=Pg |
6 |
dpavlin |
294 |
# dbi_dsn=dbname=webpac |
7 |
|
|
dbi_user="" |
8 |
|
|
dbi_passwd="" |
9 |
dpavlin |
133 |
|
10 |
|
|
dbi_dbd=SQLite |
11 |
dpavlin |
294 |
dbi_dsn=dbname=/data/knjiznice/webpac/index.sqlite |
12 |
dpavlin |
133 |
|
13 |
dpavlin |
103 |
# display progress bar indicator (default is no) |
14 |
dpavlin |
133 |
show_progress=1 |
15 |
dpavlin |
103 |
|
16 |
dpavlin |
321 |
# Filter characters before feeding them to swish. If you don't use |
17 |
|
|
# this file, implementation will fall-back to passing through |
18 |
|
|
# original charset, and if you have anything other than plain |
19 |
|
|
# 7-bit ascii in your data, your words will end-up splitted in |
20 |
|
|
# index on 8-bit characters and you won't be able to find them! |
21 |
dpavlin |
323 |
my_unac_filter = /data/knjiznice/webpac/my_unac_string.pm |
22 |
dpavlin |
321 |
|
23 |
dpavlin |
76 |
[webpac] |
24 |
|
|
# path to template html files |
25 |
dpavlin |
294 |
template_html = /data/knjiznice/webpac/template_html |
26 |
dpavlin |
76 |
# charset encoding for template file *and* users (default iso-8859-1) |
27 |
|
|
charset = ISO-8859-2 |
28 |
dpavlin |
697 |
# locale to use (for sorting, uc/lc) (default hr_HR) |
29 |
|
|
locale = hr_HR |
30 |
dpavlin |
76 |
# path to swish binary (default /usr/bin/swish-e) |
31 |
|
|
swish = /usr/bin/swish-e |
32 |
|
|
# path to index file |
33 |
dpavlin |
294 |
index = /data/knjiznice/webpac/index/webpac.index |
34 |
dpavlin |
76 |
# this is hard-coded maximum hits for ALL user. (default 0=disable) |
35 |
|
|
max_hits = 0 |
36 |
|
|
# number of results on each pager page (default 10) |
37 |
dpavlin |
715 |
on_page = 150 |
38 |
dpavlin |
120 |
# Minimum number of characters which will be will suplemented by |
39 |
|
|
# wildcard * to find all words which begin with those letters, |
40 |
|
|
# This should be at least 1, so that queries with non-alpha characters |
41 |
|
|
# like "&" would work. However, larger values also make sense to produce |
42 |
|
|
# more relevant hits on words like "to", "at" etc. |
43 |
|
|
min_wildcard = 2 |
44 |
dpavlin |
148 |
# master template which will be used to enable global design changes |
45 |
|
|
# (it will replace ##webpac## in this template with output of webpac) |
46 |
dpavlin |
294 |
template = /data/knjiznice/webpac/public_html/template.html |
47 |
dpavlin |
76 |
|
48 |
dpavlin |
340 |
base_path = /webpac |