A little background info:
I'm running version 3.2.0 B3 on RedHat Linux 7.1 and I'm not using any of
the default directories, therefore when I run htdig & htsearch I need to
specify the location of my configuration file with a "-c <config_dir>"
Here's the problem:
The only way of being able to call htsearch without having to put the
configuration file in the default directory, is to post the action as if I
was running it as a command line program. Since I'm not using any of the
default directories, I need to specify to the htsearch where my
configuration file is located or else it always goes hunting at /etc which
is the default directory.
I also modified the templates (header/footer/wrapper/nomatch/syntax.html) to
make them fit to the action that I wanted them to take when a person
"refines" their search. I thought I hacked it pretty well, but apparently
the buttons on the footer, the ones that create the previous page, page
list, and next page buttons/links they all have htsearch dynamically create
the hyperlink to go directly to the default directory to look for the
I read somewhere on the development page that it's a known bug (being able
to call a command line program from the form's action), but if it is a bug,
how else is it possible for a search form to call htsearch and be able to
use a specific configuration file that is not located in the default
directory? Is there a way to modify the $(PREVPAGE), $(PAGELIST), and
$(NEXTPAGE) such that it'll point to a user defined directory?