According to [EMAIL PROTECTED]:
>Is it possible with htdig to index two seperate servers and create 
>two databases, one containing server a and the other servers a & 
>b, then using the same htsearch cgi, based on some php3 (which I 
>can work out, that bits fine) search either database 1 (server a only 
>) or database 2 (server a and b).
>
>I'm sorry this isn't clear - what I want to do is those people within 
>my organisation be able to search both the public internet and 
>intranet sites, but those outside of it, only search the public 
>internet site.  This probably makes it more clear in what I want to 
>do.
>
>Has anyone attempted to do this?

This is quite easy if your staff members have a fixed IP range or
access the server via a proxy gateway which is otherwise unavailable
to the public.

If you use a dynamic approach to make the query, you can then test
the IP of the referring client and switch configuration files accordingly.

The approach should work with any server-parsed content, not only PHP,
since you don't even need to use server-parsed templates.


hth,
  Torsten

--
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstra�e 14                            Tel: +49-4101-403605
D-25474 Ellerbek                            Fax: +49-4101-403606
E-Mail: [EMAIL PROTECTED]            Internet: http://www.inwise.de


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

Reply via email to