> Question 1: Since the appserver should always be the frontend (and therefore
> take the http requests and deliver the output to the client) I want to call
> htsearch from within the appserver, e.g. via SSI. So is it possible to call
> htsearch indirectly (comparable to using htsearch from the command-line) or do
> I always have to use the htsearch template? And (if it works ): How do I get
> the output from htsearch back into my appserver?

you need a wrapper around htdig to run it on the shell. It is probably best if
you check the solutions for php, as your situation is somewhat similar. The
basic layout:

1) get a shell wrapper going that uses the env. variable 'QUERY_STRING' to
   send the query to htdig. 
2) start htdig from your app. server using whatever mechanism it provides to
   start shell scripts (SSI can do this too).
 
> Question 2: There are different user groups - each group should only see
> documents that are located in a group-specific directory and not the ones of the
> other groups. What do you think is the best way (or the best moment in the
> process) to filter the search results? 

have the app server add a paramter to the query that will limit the
search results.

(btw. I posted some stuff for php a few days back. it may help
you to get started. In particular the shell script should be usefull)


-- 
---------------------------------------------------------------
[EMAIL PROTECTED]             Collaborative Intrusion Detection
                                    join http://www.dshield.org

Attachment: msg04946/pgp00000.pgp
Description: PGP signature

Reply via email to