The format is
Each line of the file should begin with Allow or Deny, followed by some whitespace, then the regular expression matching the files to be included or excluded from the index. So for example, the lineAllow|Deny regexp
excludes any file whose path contains the string "/secret" or whose path begins with "secret". For more information on regular expressions, see any Perl reference book, or type "man regexp", or see the on-line docs on Perl regular expressions.Deny (^|/)secret
The lines of .wgfilter-index are processed in order, with earlier lines having precedence over later ones. So to index only files ending in .htm or .html, you could use a .wgfilter-index file containing the lines
Note, .wgfilter-index is read by makenh when creating the list of files to be indexed. It is not read by glimpse or glimpseindex directly.Allow \.html?$ Deny .*
10/18/99 - gvelez@iwhome.com