/[webpac]/trunk/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

Annotation of /trunk/global.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 175 - (hide annotations)
Sun Nov 23 17:33:59 2003 UTC (16 years, 2 months ago) by dpavlin
File size: 1427 byte(s)
fix path

1 dpavlin 81 # global configuration file (used by all2xml.pl and webpac.cgi)
2 dpavlin 53
3     [global]
4     # define database to use for indexes
5 dpavlin 133 # dbi_dbd=Pg
6     # dbi_dsn=dbname=webpac-dev
7    
8     dbi_dbd=SQLite
9     dbi_dsn=dbname=/data/webpac/index.sqlite
10    
11 dpavlin 53 dbi_user=dpavlin
12 dpavlin 133 dbi_passwd=""
13 dpavlin 53
14 dpavlin 103 # display progress bar indicator (default is no)
15 dpavlin 133 show_progress=1
16 dpavlin 103
17 dpavlin 171 # optional alternative Text::Unaccent filter
18 dpavlin 175 unac_filter = /data/webpac/filter/unac_string_croatian.pm
19 dpavlin 171
20 dpavlin 76 [webpac]
21     # path to template html files
22     template_html = /data/webpac/template_html
23     # charset encoding for template file *and* users (default iso-8859-1)
24     charset = ISO-8859-2
25     # path to swish binary (default /usr/bin/swish-e)
26     swish = /usr/bin/swish-e
27     # path to index file
28 dpavlin 85 index = /data/webpac/index/webpac.index
29 dpavlin 76 # this is hard-coded maximum hits for ALL user. (default 0=disable)
30     max_hits = 0
31     # number of results on each pager page (default 10)
32     on_page = 30
33 dpavlin 120 # Minimum number of characters which will be will suplemented by
34     # wildcard * to find all words which begin with those letters,
35     # This should be at least 1, so that queries with non-alpha characters
36     # like "&" would work. However, larger values also make sense to produce
37     # more relevant hits on words like "to", "at" etc.
38     min_wildcard = 2
39 dpavlin 148 # master template which will be used to enable global design changes
40     # (it will replace ##webpac## in this template with output of webpac)
41 dpavlin 163 template = /data/webpac/public_html/template.html
42 dpavlin 76

Properties

Name Value
cvs2svn:cvs-rev 1.12

  ViewVC Help
Powered by ViewVC 1.1.26