Re: htdig: Limiting search to one host

Thomas Riehm (Thomas.Riehm@Jura.Uni-Muenchen.DE)
Thu, 18 Dec 1997 08:54:35 +0200


On 17 Dec 97 at 21:25, Mark A. Pitman (Mark A. Pitman
<>) wrote:

> If I index 2 hosts (virtual or otherwise) is there a way to limit
> the search results to only one of those hosts? We will be hosting
> multiple sites and for example when someone does a search on our
> corporate web-site, I only want to return matches from that
> web-site, not from other web-sites we will be hosting and indexing
> with the same htdig server.

just add a hidden input field to your search form to restrict the
results, like:

<input type="hidden" name="restrict"

You could also do this using radio buttons or a combo listbox. We're
doing this with several (virtual and non-virtual) servers on our
campus. See for a
combo box and for Radio


Thomas Riehm

To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the body of the message.

This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:25 PST