According to Jim Cole:
> On Tuesday, November 12, 2002, at 05:42 AM, Sean Downey wrote:
> > you mentioned another run of ./configure - should I have done this  
> > after the
> > patch (2a) and then done the #define COLLECTIONS (2b) ??
> 
> I believe the second mention of ./configure referred only to the need  
> to manually redefine COLLECTIONS if you for some reason reran configure.

That's right.  If you don't rerun ./configure after applying the patch,
you don't need to redefine COLLECTIONS.  If you did rerun ./configure,
just edit include/htconfig.h afterward, and add "#define COLLECTIONS 1".

> > or did I make a mistake in the patch??
> 
> I don't see anything obvious.
> 
> > if what I did above is correct then I must have messed up with the
> > htdig.conf and the other .conf files
> > here is what I think is supposed to happen
> >
> > REQUEST_METHOD=GET
> > QUERY_STRING="words=Ireland&format=htdig&config=i_i_00_01&config=i_i_00 
> > _10&m
> > atchesperpage=10&method=or&page=1&sort=score&startday=01&endday=12&star 
> > tmont
> > h=01&endmonth=11&startyear=1997&endyear=2002"
> > /usr/local/htdig-3.1.6a/bin/../cgi-bin/htsearch
> 
> I didn't actually test with multiple databases, but after patching I  
> was able to perform a query of form  
> http://blah/cgi-bin/htsearch?words=test&config=config1&config=config2  
> without error. Are you sure that you are actually calling the patched  
> version of htsearch? Did you verify that the specified config files  
> exist, are accessible to the htsearch user, and are located in the  
> proper directory?

All I can think to add is that you can try running htsearch as above,
but with just one of the config=... definitions at a time.  If it doesn't
work with any one of those config files alone, then the problem is with
the config file.  If it does work with each one individually, but not
when you use two or more together, then the problem is with htsearch:
either the binary in cgi-bin wasn't updated when you ran "gmake install",
or somehow the patch didn't apply properly on your system.  We recommend
using GNU patch for unified diffs, as some other patch implementations
(like Solaris patch) have problems with them.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
_______________________________________________
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