According to Dan Langille:
> On 16 Jul 2001, at 11:54, David Patterson wrote:
> > the only time I got this type of error it was a typo on my part.  I had
> > this in the config file:
> > 
> > nothing_found_file: /home/httpd/html/fetch/results-nothing-found.html
> > 
> > but the actual file was:
> > /home/httpd/html/fetch/search_results_nothing_found_file.html
> 
> Thanks for this valuable clue.  I suspect this is my problem too.  There 
> doesn't seem to be any errors output from htsearch if the templates 
> cannot be found.  I concluded this after commenting out the following 
> templates from my htdig.conf.  After that, a search returned results.
> 
> 1 - where should the templates be located?
...
> given that I've used this configuration:
> 
> ./configure \
>         --prefix=/home/dan/test/htdig                                   \
>         --with-config-dir=/home/dan/test/htdig/conf                     \
>         --with-default-config-file=/home/dan/test/htdig/conf/htdig.conf \
>         --with-common-dir=/home/dan/test/htdig/share                    \
>         --with-database-dir=/home/dan/test/htdig/var                    \
>         --with-cgi-bin-dir=/home/dan/test/htdig/cgi-bin                 \
>         --with-image-dir=/home/dan/test/htdig/icons                     \
>         --with-image-url-prefix=/images/htdig                           \
>         --with-search-dir=/home/dan/test/htdig

Generally, they go in the "common" directory, i.e. /home/dan/test/htdig/share
in your case.

> 2 - should htsearch output some sort of debugging aid in cases where 
> the templates cannot be located.

Yes, I've added this to the latest 3.2.0b4 development snapshot, and I plan
to add it to 3.1.6 as well.

> Thanks.  Debugging output helps when things go wrong.

I hear you.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
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

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to