| 1 |
# This is a Namazu configuration file. |
| 2 |
# |
| 3 |
# Originally, this file is named 'namazurc-sample'. so you should |
| 4 |
# copy this to 'namazurc' to make the file effective. |
| 5 |
# |
| 6 |
# Each item is must be separated by one or more SPACE or TAB characters. |
| 7 |
# You can use a double-quoted string for represanting a string which |
| 8 |
# contains one or more SPACE or TAB characters like "foo bar baz". |
| 9 |
# |
| 10 |
# <List of Directives> |
| 11 |
# |
| 12 |
# * Index |
| 13 |
# - Specify a default directory to search. |
| 14 |
# |
| 15 |
# * Replace |
| 16 |
# - Replace a URI string in search results. |
| 17 |
# Specify TARGET REPLACEMENT by regular expression. |
| 18 |
# You can caputure strings by surrounding them with `(' and `)' |
| 19 |
# and use them later as backreferences by \1, \2, \3,... \9. |
| 20 |
# |
| 21 |
# e.g., |
| 22 |
# |
| 23 |
# Replace /home/foo/public_html/ http://www.foobar.jp/~foo/ |
| 24 |
# Replace /home/(.*)/public_html/ http://www.foobar.jp/\1/ |
| 25 |
# |
| 26 |
# If you do not want to do the replacement processing in |
| 27 |
# command line use, you can run namazu with -U option. |
| 28 |
# |
| 29 |
# * Logging |
| 30 |
# - Set OFF to turn off keyword logging in NMZ.slog. |
| 31 |
# Default: logging ON |
| 32 |
# |
| 33 |
# * Lang |
| 34 |
# - Set a locale code such as `ja_JP.eucJP', `ja_JP.SJIS', |
| 35 |
# `de', etc. This directive works only if environment |
| 36 |
# variable LANG is not set because the directive is mainly |
| 37 |
# intended for CGI use. On the shell, You can set |
| 38 |
# environemtnt variable LANG instead of using the directive. |
| 39 |
# |
| 40 |
# If you set `de' to it, namazu.cgi use |
| 41 |
# NMZ.(head|foot|body|msg|tips).de for displaying results |
| 42 |
# and use a proper message catalog for `de'. |
| 43 |
# |
| 44 |
# * Scoring |
| 45 |
# - Set a scoring method "tfidf" or "simple". |
| 46 |
# |
| 47 |
# * EmphasisTags |
| 48 |
# - Set a pair of html elements which is used in |
| 49 |
# keyword emphasizing in search results. |
| 50 |
# |
| 51 |
# * Template |
| 52 |
# - Set a directory which contains NMZ.{head,foot,body,tips,result} |
| 53 |
# files to compose search results. |
| 54 |
# |
| 55 |
# You can use ~/foo notation for representing a pathname of directory |
| 56 |
# which lacated under your home directory. e.g., |
| 57 |
# |
| 58 |
# Index ~/NMZ |
| 59 |
# |
| 60 |
Index /home/hosting/h14m.org/index |
| 61 |
#Replace /home/foo/public_html/ http://www.foo.bar.jp/~foo/ |
| 62 |
Logging on |
| 63 |
Lang ja |
| 64 |
#Scoring tfidf |
| 65 |
#EmphasisTags "<strong class=\"keyword\">" "</strong>" |
| 66 |
Template /home/hosting/h14m.org/index |
| 67 |
|