1 # global configuration file (used by all2xml.pl and webpac.cgi)
4 # define database to use for indexes
6 # dbi_dsn=dbname=webpac-dev
9 dbi_dsn=dbname=/data/webpac/index.sqlite
14 # display progress bar indicator (default is no)
17 # 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
25 # path to template html files
26 template_html = /data/webpac/template_html
27 # charset encoding for template file *and* users (default iso-8859-1)
29 # path to swish binary (default /usr/bin/swish-e)
30 swish = /usr/bin/swish-e
32 index = /data/webpac/index/webpac.index
33 # this is hard-coded maximum hits for ALL user. (default 0=disable)
35 # number of results on each pager page (default 10)
37 # Minimum number of characters which will be will suplemented by
38 # wildcard * to find all words which begin with those letters,
39 # This should be at least 1, so that queries with non-alpha characters
40 # like "&" would work. However, larger values also make sense to produce
41 # more relevant hits on words like "to", "at" etc.
43 # master template which will be used to enable global design changes
44 # (it will replace ##webpac## in this template with output of webpac)
45 template = /data/webpac/public_html/template.html