updated branches to trunk
[webpac] / global.conf
1 # global configuration file (used by all2xml.pl and webpac.cgi)
2
3 [global]
4         # define database to use for indexes
5         dbi_dbd=SQLite
6         dbi_dsn=dbname=/data/webpac-hidra/index.sqlite
7 #       dbi_dbd=Pg
8 #       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         # 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         my_unac_filter = /data/webpac-hidra/my_unac_string.pm
22
23 [webpac]
24         # path to template html files
25         template_html = /data/webpac-hidra/template_html-hidra
26         # charset encoding for template file *and* users (default iso-8859-1)
27         charset = ISO-8859-2
28         # locale to use (for sorting, uc/lc) (default hr_HR)
29         locale = hr_HR
30         # path to swish binary (default /usr/bin/swish-e)
31         swish = /usr/bin/swish-e
32         # path to index file
33         index = /data/webpac-hidra/index/webpac.index
34         # 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         on_page = 30
38         # 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         # master template which will be used to enable global design changes
45         # (it will replace ##webpac## in this template with output of webpac)
46         template = /data/webpac-hidra/public_html-hidra/template.html
47         # this base path is used to decide what is base URL of your webpac
48         # e.g. /webpac/. Normally, you will have index.cgi after it in
49         # URL. However, if you install additional aliases in your httpd.conf
50         # you can also make directories in template_html and public_html
51         # and webpac will autonatically use that. How? Just add
52         # Alias /webpac/en/ /data/webpac/public_html/
53         # and make en directory in public_html and/or template_html with
54         # files localized for english (in case that's not your default
55         # language)
56         base_path = /webpac-hidra
57