Gustave T. Stresen-Reuter wrote:
> Richard Peskin wrote:
>
> > I needed to relocate my "conf" directory. Unfortunately, it appears
> > that the default (CONF_DIR) is "hard wired" into the compilation for
> > htsearch. Is this correct? That is do I really need to recompile just
> > 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
> specify what config file to use. Just include the (full) path to the
> config file as part of the name and it should work (at least, it has
> worked for me in the past). You might have to play around with it a
> bit...
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.
cu,
Martin
--
| Martin Vorlaender | OpenVMS rules!
OpenVMS: Where do you | work: [EMAIL PROTECTED]
want to BE today? | http://www.pdv-systeme.de/users/martinv/
| home: [EMAIL PROTECTED]
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&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