--- branches/hidra/global.conf 2003/12/11 19:08:32 194 +++ branches/hidra/global.conf 2004/07/02 14:19:51 377 @@ -3,28 +3,32 @@ [global] # define database to use for indexes dbi_dbd=SQLite - dbi_dsn=dbname=/data/webpac-hidra/index.sqlite + dbi_dsn=dbname=/data/webpac-hidra2/index.sqlite # dbi_dbd=Pg # dbi_dsn=dbname=webpac-hidra - dbi_user=dpavlin + dbi_user="" 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 + # Filter characters before feeding them to swish. If you don't use + # this file, implementation will fall-back to passing through + # original charset, and if you have anything other than plain + # 7-bit ascii in your data, your words will end-up splitted in + # index on 8-bit characters and you won't be able to find them! + my_unac_filter = /data/webpac/my_unac_string.pm [webpac] # path to template html files - template_html = /data/webpac-hidra/template_html.hr + template_html = /data/webpac-hidra2/template_html-hidra # 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-hidra/index/webpac.index + index = /data/webpac-hidra2/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) @@ -37,4 +41,15 @@ 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 + template = /data/webpac-hidra2/public_html-hidra/template.html + # this base path is used to decide what is base URL of your webpac + # e.g. /webpac/. Normally, you will have index.cgi after it in + # URL. However, if you install additional aliases in your httpd.conf + # you can also make directories in template_html and public_html + # and webpac will autonatically use that. How? Just add + # Alias /webpac/en/ /data/webpac/public_html/ + # and make en directory in public_html and/or template_html with + # files localized for english (in case that's not your default + # language) + base_path = /webpac-hidra2 +