Re: [htdig] htsearch

Gilles Detillieux (
Mon, 3 May 1999 12:10:30 -0500 (CDT)

According to bertrand bourdon:
> I recently installed ht://Dig (3.1.2) on my computer, and I have indexed
> my site with rundig. When I search a key word with the html page named
> /opt/www/htdocs/htdig/search.html, it doesn't work.
> My database is correctly.

Could you be more specific? Do you get internal server errors, or simply
the "No matches were found" page? Are there examples of words you know
are in the database (i.e. in db.wordlist) but htsearch doesn't find?
How did you confirm that the database is built correctly? Did you try
htsearch in interactive mode, from the command line?

> How use I the -v option for htsearch in the html page ?
> May be configuration parameters (CONFIG_DIR ...) ?
> Has anyone had similar problems?

I don't know of any way of using htsearch -v from a search form. You
could probably use a wrapper script that would call htsearch, but what
it would output would likely end up confusing your web server.

You should try htsearch -v from the command line, to see where/why your
searches are failing.

It's probably not a problem with CONFIG_DIR. If htsearch can't find
the configuration file, it will tell you so quite clearly.

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the SUBJECT of the message.

This archive was generated by hypermail 2.0b3 on Mon May 03 1999 - 10:19:44 PDT