Gilles Detillieux writes...
> > However, when htsearch creates the results page, the HTML it
> > generates omits the -c option:
> >
> > <FORM method="get" action="/cgi-bin/htsearch">
> >
> > Using only the configuration file, how can I convince htsearch to
> > add the -c option to the HTML it generates?
>
> Using the -c option to htsearch is not the preferred approach to specifying
> the configuration file. That option is mainly for testing and debugging
> purposes. Usually, you specify the configuration file using the "config"
> input parameter to htsearch. It's defined as a hidden input parameter
> in the sample search.html form that comes with the package. The limitation
> with this is the file you specify must be under the CONFIG_DIR directory
> defined at compile time. The default value for "config" is "htdig", which
> expands to "$CONFIG_DIR/htdig.conf". As long as $SCONF is subordinate to
> the compiled-in CONFIG_DIR value, this shouldn't be a problem.
Foo. This isn't going to fly. I want to cut this whole thing as a CD
ROM to be mounted under /home/httpd/html/<dir> on any convenient
machine (that has htsearch installed in cgi-bin). Thus the need for
no references to specific machine names in the database, and thus the
need for everything to be self contained in its own directory tree.
And I expect to have several different <dir>'s independantly indexed
this way and possibly mounted at the same time.
The RFC's are just one example, but I also want to do this
with several huge mail archives.
Sounds like I'm going to need to hack htsearch to be a little more
flexible in where it can take its config file from, and carry around a
custom binary of that program.
OK, I should have downloaded the source in the first place.
-Rick
--
Rick Richardson [EMAIL PROTECTED] http://RickRichardson.freeservers.com/
My current CI is 28. I'm 41. I need 14 more cylinders by my next
birthday. Two PWC's and an SUV ought to do it. Thats my new goal.
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.