Skip to main content.
home | support | download

Back to List Archive

RE: Q: FileRules

From: Eric Boman <eboman(at)>
Date: Mon Feb 26 2001 - 14:23:03 GMT
I saw the same problem.

It looks like the code that checks for the number of parameters, expects >4 parameters when it should be >3.

Just add another parameter to the FileRules line.


-----Original Message-----
From:	Gastlogin Internet-Cafe Muenchen []
Sent:	Saturday, February 24, 2001 6:07 AM
To:	Multiple recipients of list
Subject:	[SWISH-E] Q: FileRules


If I uncomment/activate any of the following:

FileRules pathname contains .*dir1
FileRules filename is index
FileRules pathname contains .*dir1
FileRules directory contains .htaccess 

I get the error.

Indexing Data Source: "File-System"
err: Bad number of parameters in FileRules

The below FileRules do however work fine for me:

FileRules filename contains # % ~ .bak .orig .old old.
FileRules title contains construction example pointers

I tested with the actual example parameters as above. I'm using: SWISH-E
2.1-dev-20 (2001-02-23) as on And I'm doing filesystem
indexing, all http options are disabled. Could there be some other
conflicting config option?

Received on Mon Feb 26 14:28:11 2001