The BrokerQuery.pl.cgi configuration files are kept in $HARVEST_HOME/cgi-bin/lib. The name of a customized file is listed in the query.html form, and passed as an option to the BrokerQuery.pl.cgi program.
The simplest way to specify the customized file is by placing
<INPUT> tag in the HTML form. For example:
<INPUT TYPE="hidden" NAME="brokerqueryconfig" VALUE="custom.cf">
Another way is to allow users to select from different customizations
<SELECT NAME="brokerqueryconfig"> <OPTION VALUE=""> Default <OPTION VALUE="custom1.cf"> Customized <OPTION VALUE="custom2.cf" SELECTED> Highly Customized </SELECT>