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