Re: htdig: Wrapper script for htsearch


Ralph Jaeger (jaeger@wired-worker.com)
Wed, 30 Sep 1998 01:52:46 +0200


Dear John,

At 14:49 29.09.98 -0400, you wrote:
>
>I am moving from a long-time relationship with Excite for
>Web Servers (EWS) to Htdig, after upgrading our OS and
>hardware. Since we have been online for 3 years, we've
>encouraged people to include a search engine interface
>on their Web page which calls the EWS script from our server.
>Naturally, the form is configured for EWS, not htsearch.
>
>So I've written a wrapper script for htsearch which will
>parse the EWS form and send stuff htsearch likes to see.
>The problem is the wrapper works fine from the command
>line, but not when called as a CGI from the Web.
>I assume that, since the htdig config file can't be
>named in the form, I need to define the file somehow as an
>environmental variable in the perl wrapper script?
>I'm not sure, but I think it has something to do with
>ensuring htsearch knows where the htdig.conf file is...
>and it doesn't right now.

Have a look at htdig.org at the possible fields in a form for htsearch.
There is actually a field called "config".

[cut]

bye,

ralph

>Thanks a lot,
>-John
>
>--
>Mental Health Net
>http://www.cmhc.com/
>
>----------------------------------------------------------------------
>To unsubscribe from the htdig mailing list, send a message to
>htdig-request@sdsu.edu containing the single word "unsubscribe" in
>the body of the message.
>
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu 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:27:53 PST