/[webpac]/branches/drustvene/global.conf
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /branches/drustvene/global.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 697 - (show annotations)
Sun Mar 13 02:03:30 2005 UTC (19 years ago) by dpavlin
File size: 2376 byte(s)
updated branches to head

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

Properties

Name Value
cvs2svn:cvs-rev 1.12

  ViewVC Help
Powered by ViewVC 1.1.26