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

Diff of /branches/ffzg/global.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/global.conf revision 53 by dpavlin, Sun Jun 1 18:49:49 2003 UTC branches/ffzg/global.conf revision 321 by dpavlin, Sun Apr 18 01:03:27 2004 UTC
# Line 1  Line 1 
1  # global configuration file (used by isis2xml.pl and webpac.cgi)  # global configuration file (used by all2xml.pl and webpac.cgi)
2    
3  [global]  [global]
4          # define database to use for indexes          # define database to use for indexes
5          dbi_dbd=Pg  #       dbi_dbd=Pg
6          dbi_dsn=dbname=webpac  #       dbi_dsn=dbname=webpac
7          dbi_user=dpavlin          dbi_user=""
8          dbi_passwd=xx          dbi_passwd=""
9    
10            dbi_dbd=SQLite
11            dbi_dsn=dbname=/data/knjiznice/webpac/index.sqlite
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/my_unac_string.pm
22    
23    [webpac]
24            # path to template html files
25            template_html = /data/knjiznice/webpac/template_html
26            # charset encoding for template file *and* users (default iso-8859-1)
27            charset = ISO-8859-2
28            # path to swish binary (default /usr/bin/swish-e)
29            swish = /usr/bin/swish-e
30            # path to index file
31            index = /data/knjiznice/webpac/index/webpac.index
32            # this is hard-coded maximum hits for ALL user. (default 0=disable)
33            max_hits = 0
34            # number of results on each pager page (default 10)
35            on_page = 30
36            # Minimum number of characters which will be will suplemented by
37            # wildcard * to find all words which begin with those letters,
38            # This should be at least 1, so that queries with non-alpha characters
39            # like "&" would work. However, larger values also make sense to produce
40            # more relevant hits on words like "to", "at" etc.
41            min_wildcard = 2
42            # master template which will be used to enable global design changes
43            # (it will replace ##webpac## in this template with output of webpac)
44            template = /data/knjiznice/webpac/public_html/template.html
45    

Legend:
Removed from v.53  
changed lines
  Added in v.321

  ViewVC Help
Powered by ViewVC 1.1.26