On Thu, 8 Apr 2004, Douglas Kline wrote:

> Is there a way to specify these attributes for a search other than using a
> different htdig.conf file for htsearch from the one used for htdig and
> specifying the prefix or substring attributes in that file?  Can such an
> attribute be applied as an option to the htsearch command called as a cgi
> operation or from the Web page calling htsearch?  TIA.

By default htsearch allows only a limited number of attributes to be
passed in from the search form. To do otherwise would remove a
significant level of control from the maintainer and could in fact be
rather dangerous. Instead, htsearch forces the maintainer to specify
those attributes which they choose to have htsearch act upon. This is
handled through the allow_in_form attribute, which needs to be placed
in your configuration file. Take a look at the following.

  http://www.htdig.org/attrs.html#allow_in_form

The above link even provides an example of setting up search_algorithm
options.

Jim


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to