You have a couple of options.  

If you use the vspider to spider the site then you can use:
-indexclude /someIP/someFolder/*

If you use the standard cfindex tag then its going to be more of a
challenge.  Out of the box from what I have found outside of removing the
directory from what you are going to index or naming all of the files you
dont want indexed with .cfml then only index the .cfm's.  Neither of these
are really optimal solutions.  There is a app on cfhub, I think, that will
allow you to do this, with cfindex, I have not messed with it. 

If you are creating a web search of a varitey of doc types.  I really
recommend using the spider. The cfindex of a directory still ends up with
alot of junk in the results.  My .02

sean  



-----Original Message-----
From: Jeff Small [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 11:57 AM
To: CF-Talk
Subject: [verity] How do I exclude certain directories from my index?


Let's say for example I've got directory "foo".

Inside "foo" I have "directory1", "directory2", ... "directory24"...

I want to index the cfm files in "foo", but I want to exclude "directory12"
and "directory17"
and "directory19"...

How would I go about doing that?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to