[Xapian-devel] Omega changes
Sam Liddicott
sam at liddicott.com
Tue Dec 21 13:19:42 GMT 2004
Olly Betts wrote:
>On Fri, Dec 17, 2004 at 02:15:34PM +0000, Richard Boulton wrote:
>
>
>>I propose changing the configuration file search to read an environment
>>variable "OMEGA_CONFIG_FILE". If this is set, the configuration will be
>>read from the file whose path is in the environment variable. If this
>>is not set, the configuration will be read from $sysconfdir/omega.conf
>>(where $sysconfdir defaults to /etc, but can be set by parameters
>>to ./configure). If the configuration file specified cannot be read,
>>default values will be used.
>>
>>
>
>I'm not totally sold on this.
>
>Setting an environmental variable (at least for apache) requires admin
>access to the webserver configuration, or (assuming it's configured to
>allow you to) the creation of a .htaccess file, or some sort of wrapper
>around the CGI (e.g. a shell script which exports the variable and execs
>omega). If .htaccess exists, the server has to read it for anything
>served from that directory, which is potentially quite an overhead.
>
>
I agree with Olly.
I have installations dependant on the config file being read from the
current directory.
Sam
More information about the Xapian-devel
mailing list