Hi,

in order to exclude a subdirecty called "_screen" I am using
the following patch from this mailing list:

=============================CUT=HERE==========================================
*** htsearch/Display.cc.orig    Fri Feb  7 03:25:17 1997
--- htsearch/Display.cc Tue Jul  1 15:27:27 1997
***************
*** 133,139 ****
      }
      else
      {
!       if (excludeFrom && excludeFrom->FindFirst(url) < 0)
            return 0;
        else
            return 1;
--- 133,141 ----
      }
      else
      {
!       if (excludeFrom && 
!           excludeFrom->hasPattern() &&
!           excludeFrom->FindFirst(url) >= 0)
            return 0;
        else
            return 1;

==============================CUT=HERE==========================================

It works fine when I first start htsearch with index.htm containing:
<input type=hidden name=exclude value="_screen/">

But then, after I got the results page from htsearch, if I 
continue searching starting from this results page, 
I again get results from this unwanted directory, although 
my file header.html also contains.
<input type=hidden name=exclude value="_screen/">

What am I doing wrong???

Thanks in advance for any help.

        Dieter
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to