Skip to main content.
home | support | download

Back to List Archive

RE: Q: FileRules

From: Eric Boman <eboman(at)not-real.digalogsys.com>
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.


Eric

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

Hello,

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
http://sunsite.berkeley.edu:4444/swish-daily/. And I'm doing filesystem
indexing, all http options are disabled. Could there be some other
conflicting config option?

Thanks!
Kati
Received on Mon Feb 26 14:28:11 2001