Subject: Re: [htdig] Nothing found
From: Gilles Detillieux (email@example.com)
Date: Wed Mar 15 2000 - 07:08:26 PST
According to Croom:
> I have installed and configured ht://dig with its defaults. I have run
> htdig and htmerge. The /db files contain accurate information about the
> html files that were used in the dig and merge. Then, however, when I
> attempt to do a search, I either get an error message (the page cannot
> be found) or, in certain instances, the system has believed that I
> wanted to download htsearch from its local location to who knows where.
I'll cover the last problem first. Your server is returning the contents
of the htsearch binary. Common causes of this are:
- no execute permission on the binary
- the binary won't run on this system (compiled for the wrong system type)
- the web server doesn't recognize the file as a CGI (for Apache, you must
have a ScriptAlias directive for the program or the directory in which
it's installed, or define a cgi-script handler for some suffix - e.g. .cgi
- and add that suffix to the program file name)
By default, Apache is usually configured with one cgi-bin directory as
ScriptAlias, so all your CGI programs must go in there, or have a .cgi
suffix on them. Your configuration may differ, however.
You may want to begin by testing htsearch from the command line, and try
a simple search for a word you know to be in the database (i.e. you can
see it in db/db.wordlist, which is a text file). Please also look at the
FAQ on www.htdig.org for other common htsearch problems which may come up.
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil 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 email@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Wed Mar 15 2000 - 08:15:52 PST