Gustave T. Stresen-Reuter wrote:
> Richard Peskin wrote:
> > I needed to relocate my "conf" directory. Unfortunately, it appears=20
> > that the default (CONF_DIR) is "hard wired" into the compilation for =
> > htsearch. Is this correct? That is do I really need to recompile =
> > because i relocate the conf directory? (I am using htdig 3.1.6 under =
> > Mac OSX 10.4.2.)
> No, you don't. With most of the htdig binaries there is an option to=20
> specify what config file to use. Just include the (full) path to the=20
> config file as part of the name and it should work (at least, it has=20
> worked for me in the past). You might have to play around with it a=20
This works when the -c option is used on the command line. However,
htsearch, when called as a CGI program, uses the hard-coded CONF_DIR
to look for the config file.
So: yes, for htsearch to work with another path, you have to recompile.
Look at it as a security measure.
| Martin Vorlaender | OpenVMS rules!
OpenVMS: Where do you | work: mv@...
want to BE today? | http://www.pdv-systeme.de/users/martinv/
| home: martin@...