[analog-help] FILEEXCLUDE via anlgform
Walter Ian Kaye
analog-help at natural-innovations.com
Thu Dec 13 14:07:24 PST 2007
At 08:37 a -0700 11/24/2007, Walter Ian Kaye didst inscribe upon an
electronic papyrus:
>At 06:22 p -0500 11/21/2007, Aengus didst inscribe upon an electronic papyrus:
>>Do a simple test from first principles - create a 4 line logfile
>>with each entry having a different file type. Run analog against it
>>with your current .cfg file, and see if your FILEEXCLUDEs work as
>>expected.
>
>Where is my .cfg file? I've never seen it....
>
>
>>If they don't, then run analog against the test logfile without any
>>.cfg file:
>>
>>analog test.log -G +C"FILEEXCLUDE *.gif" +OReport.html
>>
>>This will demonstrate how analog interprets the FILEEXCLUDE command.
>
>OK, I tried that command line on my real log file, and added *.jpg
>and *.swf to the exclusion. The gifs/jpegs were excluded, but
[...]
>>If you're still getting unexpected results, then the order of your
>>INCLUDES/EXCLUDES is the problem. SETTINGS ON will show you the
>>order in which they are being applied.
You mean in the form? It's FILEINCLUDE,FILEEXCLUDE there.
As for my .cfg file (found it at /usr/local/etc/analog.cfg), it does
not contain either command.
So, if I use the fileexclude box, am I then required to put some
wildcard(s) into the fileinclude box which precedes it on the form?
thanks,
-W
not sure the cgi spec ever even mandated any order for form parameters
(i've certainly never relied on any order in my own cgi scripts)
More information about the analog-help
mailing list