On Tue, 2 Mar 2004, Jim Cole wrote:

> On Mar 2, 2004, at 5:30 PM, Fred Stutzman wrote:
> 
> > When I web search for a term that is indexed, the search returns 
> > results,
> > everything is OK.  When I web search for a term that is not indexed, I 
> > get
> > an instantaneous 500 error.  When I run htsearch from the command line,
> > for terms indexed, it returns proper results.  When I run htsearch 
> > from the
> > command line for terms not indexed, it returns proper results.
> 
> Have you modified the nomatch.html file in any way? Have you tried 
> temporarily removing that file or replacing it with trivial content 
> (e.g. opening and closing html/body tags)? How about setting the 
> nothing_found_file attribute to point to some entirely different 
> location? I think the code generally handles problems with this file 
> gracefully, but it might be worth a look since you have already ruled 
> out a lot of other possibilities.

Hi there,

I tried out your suggestion, unfortunately it didn't work.  In the 
meantime, I discovered something quite odd.

If you give the search a non-indexed term of 15 characters or more, it
won't give you the 500 error.  For example:

http://iupac.org/cgi-bin/htsearch?config=htdig&restrict=&exclude=www.iupac.org%2Fgoldbook%2F&;
method=and&format=builtin-long&sort=score&words=859584758575867

however if you run that with less than 15 characters, you will get the 500 
error:

http://iupac.org/cgi-bin/htsearch?config=htdig&restrict=&exclude=www.iupac.org%2Fgoldbook%2F&;
method=and&format=builtin-long&sort=score&words=85958475857586

I'm really quite baffled, but I feel this might be a vital clue.

Thanks.
Fred


> 
> Since you are installing from source, is upgrading to 3.1.6 an option? 
> I don't have any reason to be suspicious of the version you are using, 
> but 3.1.6 is the current official production release. It also addresses 
> a number of security issues.
> 
> Jim
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> ht://Dig general mailing list: <[EMAIL PROTECTED]>
> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
> List information (subscribe/unsubscribe, etc.)
> https://lists.sourceforge.net/lists/listinfo/htdig-general
> 

-- 
Fred Stutzman
Desk: 962-5646
Cell: 260-8508
www.ibiblio.org




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to