Skip to main content.
home | support | download

Back to List Archive

[swish-e] Not working: FileRules filename (regex or contains)

From: Dr Michael Daly <"Dr>
Date: Sat, 17 Mar 2012 10:55:29 +1100 (EST)
I have tried multiple combinations to exclude zip files with the words
'log of hours' as part of the file name:
--
Bad directive on line #40 of file...web_2.conf:        FileRules filename
regex /^log.hours.\.zip$/i
--
Bad directive on line #40 of file...web_2.conf:        FileRules filename
regex /^.log.hours.\.zip$/i
--
Bad directive on line #40 of file...web_2.conf:        FileRules filename
regex /^.log.hours.\.zip$/
--
Bad directive on line #27 of file...web_2.conf:        FileRules filename
regex /^log.+hours.+\.zip$/i
--
Bad directive on line #27 of file...web_2.conf:        FileRules filename
regex /^log.+\.zip$/i
--
Bad directive on line #29 of file...web_2.conf:        FileRules filename
regex /^log.+\zip$/i
--
Bad directive on line #29 of file...web_2.conf:        FileRules filename
regex /^log.*\.zip$/i
--
Bad directive on line #31 of file...web_2.conf:        FileRules filename
contains ^Log\.zip$
--
Bad directive on line #31 of file...web_2.conf:        FileRules filename
contains ^\.zip$
--
Bad directive on line #31 of file...web_2.conf:        FileRules filename
contains ^zip$
--
Bad directive on line #31 of file...web_2.conf:        FileRules filename
contains \.zip$
--
Bad directive on line #31 of file...web_2.conf:        FileRules filename
contains /zip/
--
Bad directive on line #31 of file...web_2.conf:        FileRules filename
pathname /zip/
--
Bad directive on line #31 of file...web_2.conf:        FileRules pathname
contains /zip/
--
Bad directive on line #13 of file...web_2.conf: FileRules filename regex
/^log.*\.zip$/i
--
Bad directive on line #33 of file...web_2.conf:        FileRules filename
regex /^log.*\.zip$/i
Bad directive on line #34 of file...web_2.conf:        FileRules filename
contains \.zip$
--
Bad directive on line #34 of file...web_2.conf:        FileRules filename
contains \.zip$
--
Bad directive on line #35 of file...web_2.conf: Filerules dirname contains
old
--
Bad directive on line #35 of file...web_2.conf: FileRules dirname contains
old
_______________________________________________
Users mailing list
Users(at)not-real.lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Sat Mar 17 2012 - 00:05:39 GMT