Re: [htdig] Can't exclude a directory in results

Subject: Re: [htdig] Can't exclude a directory in results
From: Gilles Detillieux (
Date: Wed Jan 17 2001 - 08:10:33 PST

Last I heard, Mindspring was still using a rather ancient beta release of
htdig-3.0.8b2, which had numerous bugs. The exclude parameter handling
didn't work correctly until version 3.1.0b2. Also, we had problems
with the StringMatch class used to implement the restrict and exclude
parameters to htsearch, among other things, until 3.1.0b4. That may be
the cause of these problems. Also, you must make absolutely sure that you
only have one definition of the input parameters "restrict" and "exclude"
in your search form, as versions before 3.1.0b4 didn't handle multiple
parameter definitions for these. The current stable release is 3.1.5,
which has been out for almost a year now, and fixes these and many, many
other bugs.

According to Dudley Jane:
> TKO,
> This isn't exactly what you're doing, but, we have a form to restrict,
> but we couldn't get it to work until we said:
> <input type=hidden name=config value=htdig>
> <input type=hidden name=restrict value="">
> It didn't work if we just said value="/hr" - we had to add the www.etc.
> in front.
> JD
> Carrot-Top Creative wrote:
> >I've searched and double checked the instructions on how to exclude a
> >directory from results and can't get it to work. I'm using htdig on
> >MindSpring which means I can't do any custom configuration to the server or
> >have more than one htdig install. I need to have 2 different search pages
> >that return different results. I've successfully created a search form that
> >uses restrict:
> ><input type=hidden name=config value="www57080">
> ><input type=hidden name=restrict value="/98study/">
> ><input type=hidden name=exclude value="">
> >But I can't get exclude to work using this code to not include a particular
> >directory.
> ><input type=hidden name=config value="www57080">
> ><input type=hidden name=restrict value="">
> ><input type=hidden name=exclude value="/98study/">
> >Help what can I do? tko

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 You will receive a message to confirm this. List archives: <> FAQ: <>

This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 08:25:58 PST