Skip to main content.
home | support | download

Back to List Archive

Re: SWISH-CONFIG

From: David L Norris <dave(at)not-real.webaugur.com>
Date: Tue Jun 24 2003 - 14:28:18 GMT
On Tue, 2003-06-24 at 09:11, V kirienko wrote:
> ==============
> PATH=/usr/local/home/
> IndexDir PATH/http
> ======================
> I want to reuse config files on different environments
> and PATH is different. 

You could use two config files for each index or pass parameters on the
command line.

Example 1:
  $ cat global
  DefaultContents HTML2

  $ cat local
  IndexDir /usr/local/home/http
  IndexFile local.idx

  $ swish-e -c global local


Example 2:
  $ cat global
  DefaultContents HTML2

  $ swish-e -c global -i /usr/local/home/http -f local.idx

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
Received on Tue Jun 24 14:28:29 2003