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_dbd=Pg |
8 |
dbi_passwd=xx |
# dbi_dsn=dbname=webpac-hidra |
9 |
|
|
10 |
|
dbi_user="" |
11 |
|
dbi_passwd="" |
12 |
|
|
13 |
|
# display progress bar indicator (default is no) |
14 |
|
show_progress=1 |
15 |
|
|
16 |
|
# optional alternative Text::Unaccent filter |
17 |
|
unac_filter = /data/webpac-hidra/filter/unac_string_croatian.pm |
18 |
|
|
19 |
[webpac] |
[webpac] |
20 |
# path to template html files |
# path to template html files |
21 |
template_html = /data/webpac/template_html |
template_html = /data/webpac-hidra/template_html-hidra |
22 |
# charset encoding for template file *and* users (default iso-8859-1) |
# charset encoding for template file *and* users (default iso-8859-1) |
23 |
charset = ISO-8859-2 |
charset = ISO-8859-2 |
24 |
# path to swish binary (default /usr/bin/swish-e) |
# path to swish binary (default /usr/bin/swish-e) |
25 |
swish = /usr/bin/swish-e |
swish = /usr/bin/swish-e |
26 |
# path to index file |
# path to index file |
27 |
index = /data/webpac/index/webpac.index |
index = /data/webpac-hidra/index/webpac.index |
28 |
# this is hard-coded maximum hits for ALL user. (default 0=disable) |
# this is hard-coded maximum hits for ALL user. (default 0=disable) |
29 |
max_hits = 0 |
max_hits = 0 |
30 |
# number of results on each pager page (default 10) |
# number of results on each pager page (default 10) |
31 |
on_page = 30 |
on_page = 30 |
32 |
|
# Minimum number of characters which will be will suplemented by |
33 |
|
# wildcard * to find all words which begin with those letters, |
34 |
|
# This should be at least 1, so that queries with non-alpha characters |
35 |
|
# like "&" would work. However, larger values also make sense to produce |
36 |
|
# more relevant hits on words like "to", "at" etc. |
37 |
|
min_wildcard = 2 |
38 |
|
# master template which will be used to enable global design changes |
39 |
|
# (it will replace ##webpac## in this template with output of webpac) |
40 |
|
template = /data/webpac-hidra/public_html-hidra/template.html |
41 |
|
# this base path is used to decide what is base URL of your webpac |
42 |
|
# e.g. /webpac/. Normally, you will have index.cgi after it in |
43 |
|
# URL. However, if you install additional aliases in your httpd.conf |
44 |
|
# you can also make directories in template_html and public_html |
45 |
|
# and webpac will autonatically use that. How? Just add |
46 |
|
# Alias /webpac/en/ /data/webpac/public_html/ |
47 |
|
# and make en directory in public_html and/or template_html with |
48 |
|
# files localized for english (in case that's not your default |
49 |
|
# language) |
50 |
|
base_path = /webpac-hidra |
51 |
|
|