On Sat, 26 Sep 1998, Michael Tibor wrote:

> I'm having a problem setting up a page to search all documents on my
> webserver except the list archives.
> 
> Here's how I'm setting the exclude parameter:
> 
>    <input type=hidden name=exclude value="archive">   
> 
> Unfortunately, searching with that page yields output which includes
> my list archives (urls like /<listname>-archive/).
> 
> Am I not using the exclude parameter correctly?

Yes, you are using this parameter correctly, but there is
a "bug" in the htsearch/Display.cc file around line 194

The line

            excludeFrom->FindFirst(url) < 0)

must be

            excludeFrom->FindFirst(url) >= 0)


Recompile & install htsearch and then it should work.
(BTW this problem is also in 3.0.8b2 clean version)

--jesse
---------------------------------------------------------------------
J. op den Brouw                            Johanna Westerdijkplein 75
Haagse Hogeschool                                   2521 EN  DEN HAAG
Sector Techniek                                           Netherlands
Afdeling Elektrotechniek                               +31 70 4458936
-------------------------- [EMAIL PROTECTED] ---------------------------

htdig survey: http://crytonII.st.hhs.nl/htdig/survey.html

----------------------------------------------------------------------
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