Subject: Re: [htdig] setting precompiled CONFIG_DIR
From: Gilles Detillieux (firstname.lastname@example.org)
Date: Fri Dec 10 1999 - 08:54:14 PST
According to Geoff Hutchison:
> At 12:12 PM -0500 12/10/99, Paul Key wrote:
> >Can I override this pre-compiled setting anywhere? I want
> >CONFIG_DIR to be /usr/local/htdig/conf.
> >Or do I have to hardwire the conf dir to where the
> >precomplied binaries expect them to be?
> For security reasons, the CGI must know the directory where the
> config files will be. To "override" it, you'd have to put it in a
> config file, which would be a chicken-and-egg sort of thing.
In htsearch, you can override the compiled-in default for CONFIG_DIR,
by setting the CONFIG_DIR environment variable to the directory you
want. Of course, this requires setting up a CGI wrapper script, unless
you set the variable in your web server's environment, and configure it
to pass this variable along to CGI programs (PassEnv directive in Apache,
if I recall).
-- Gilles R. Detillieux E-mail: <email@example.com> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig mailing list, send a message to firstname.lastname@example.org You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Fri Dec 10 1999 - 09:07:24 PST