Skip to main content.
home | support | download

Back to List Archive

RE: bad directive

From: Wolf, Dena <dena.wolf(at)>
Date: Mon Nov 18 2002 - 20:07:11 GMT
Hi, Thanks fro your help.  I am down to one bad directive line:Bad directive
on line #9: IndexOnly .html .doc .xls .ppt .txt .htm .pdf

what is wrong with this line?  I am having one hell of a time trying to
figure out how to get this to work.  I know this is all second nature to you
folks, but I have not done anything like this before, and am having trouble
just understanding the directions.  Anyhow, thanks for any all help very


-----Original Message-----
From: Bill Moseley []
Sent: Friday, November 08, 2002 1:01 PM
To:; Multiple recipients of list
Subject: Re: [SWISH-E] bad directive

At 11:31 AM 11/07/02 -0800, Wolf, Dena wrote:
>Can any one help?  I keep getting my entire config file when I try to index
>say Bad directive.  Why is it sooo bad?  HELP, please & many thanks.


I think you can figure this out by removing white space and checking that
you have reasonable line endings and such.  Does your OS have a "od"

>    IndexFile ~/index.swish

Can't use "~" as shell expansions won't work.

>    IgnoreLimit 50 1000

Read docs on IgnoreLimit.

>    IndexComments 0
>    IndexOnly .html .doc .xls .ppt .txt .htm .pdf
>    NoContents .gif .xbm .au .mov .mpg  .ps

Read docs on NoContents -- that has no effect there.

>    FileRules directory contains ^\.htaccess

Swish won't index dot files in a directory, only if specified directly.

>   FileRules pathname contains members

Bill Moseley
Received on Mon Nov 18 20:07:39 2002