Skip to main content.
home | support | download

Back to List Archive

FileRules doesn't work with -S prog

From: Frank Naude <naudefj(at)not-real.telkomsa.net>
Date: Wed Feb 02 2005 - 16:25:08 GMT
Hi,

Swish-e is working perfectly with the following strip down config: 

COMMAND: ../bin/swish-e -c swish.conf
CONFIG FILE: 
IndexDir ../share/doc/swish-e/html/
FileRules pathname contains old

However, the following is not working at all:

COMMAND: ../bin/swish-e -c swish.conf -S prog
CONFIG FILE: 
IndexDir ../lib/swish-e/DirTree.pl
SwishProgParameters ../share/doc/swish-e/html/
FileRules pathname contains old

ERROR: Bad directive on line #3 of file swish.conf: FileRules pathname 
contains old

I get similar problems when I try to specify "FileRules title contains" or 
"FileRules filename contains:. Any help will be highly appreciated!

Swish-e Version: 2.5.4-2005-02-02

Best regards.

Frank
Received on Wed Feb 2 08:25:14 2005