--- trunk/global.conf 2003/07/05 23:07:47 76 +++ branches/hidra/global.conf 2003/12/11 19:08:32 194 @@ -1,23 +1,40 @@ -# global configuration file (used by isis2xml.pl and webpac.cgi) +# global configuration file (used by all2xml.pl and webpac.cgi) [global] # define database to use for indexes - dbi_dbd=Pg - dbi_dsn=dbname=webpac + dbi_dbd=SQLite + dbi_dsn=dbname=/data/webpac-hidra/index.sqlite +# dbi_dbd=Pg +# dbi_dsn=dbname=webpac-hidra + dbi_user=dpavlin - dbi_passwd=xx + dbi_passwd="" + + # display progress bar indicator (default is no) + show_progress=1 + + # optional alternative Text::Unaccent filter + unac_filter = /data/webpac-hidra/filter/unac_string_croatian.pm [webpac] # path to template html files - template_html = /data/webpac/template_html + template_html = /data/webpac-hidra/template_html.hr # charset encoding for template file *and* users (default iso-8859-1) charset = ISO-8859-2 # path to swish binary (default /usr/bin/swish-e) swish = /usr/bin/swish-e # path to index file - index = /data/webpac/index/isis.index + index = /data/webpac-hidra/index/webpac.index # this is hard-coded maximum hits for ALL user. (default 0=disable) max_hits = 0 # number of results on each pager page (default 10) on_page = 30 - + # Minimum number of characters which will be will suplemented by + # wildcard * to find all words which begin with those letters, + # This should be at least 1, so that queries with non-alpha characters + # like "&" would work. However, larger values also make sense to produce + # more relevant hits on words like "to", "at" etc. + min_wildcard = 2 + # master template which will be used to enable global design changes + # (it will replace ##webpac## in this template with output of webpac) + template = /data/webpac-hidra/public_html.hr/template.html