Solved

Excluding 'vti_...' directories in MS Index Server seach

Posted on 1997-09-25
4
551 Views
Last Modified: 2013-12-25
How do you exclude an MS Index Server query form from searching all the 'vti_' sub directories under the virtual directory you are searching (as defined by CiScope in the .idq file).
0
Comment
Question by:tombo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:cditto
ID: 1855176
Try specifying:
   CiScope=/YourVirtualDirectory/vti_*
in your .idq file
0
 

Author Comment

by:tombo
ID: 1855177
This did not work - it brings back nothing.


MS FAQ for IIS says extending the CiRestriction parameter to

CiRestriction=%CiRestriction% AND NOT #path /path/_vti_cnf*

But this made no difference either. This way seems more logical/correct but it doesn't add any extra restriction.

I have the Scope at /virtual root  and this does search only that directory but still have not found a way to exclude child directories from the search.

Any other ideas?
0
 
LVL 1

Expert Comment

by:Technocrat062397
ID: 1855178
In the IIS 3.0 admin make the catalog.vci directory a virtual directory.  Then use the index server  admin to tell it not to index it.  Be sure to give the directory execute permissions though.  This Works.  Or use the registry to exclude the file extensions contained withen those files not to be index.  I'll look up the registry path and post it when I find it.

Or turn off the system permissions in the directories you do not want searched and then reindex the site


ben@brysonweb.com
0
 
LVL 1

Accepted Solution

by:
Technocrat062397 earned 100 total points
ID: 1855179
Unforntuntally there is no way to do that unless you make a really long restrictions in your idq files.  something that looked like this
----------------------------------------
Cirestriction1=%cirstriction%  From User
Cirestriction2=and not path #c:\Insert path* and not path c:\Instert path* (add another and not for every sub directory there is)
CiRestriction= %CiRestriction1% %CiRestriction2
------------------------
That is not the way to go.  What you need to do is move the vti_ directories outside of wwwroot make a virtual directory pointing to them.  Then tell index server administration not to index that virtual directory.
---------------------------------------------------------------

Here are some other ideas

set the following registry key

Hkey_Local_Machine\system\CurrentControlSet\Control\contentindex\
Filterfileswithunknownextensions=0  (this will turn off all file filtering for files with unknown extensions like the ones in the Vti directories)filterdirectories=0  (this will not filter directories as part of index server)
--------------------------------------------------------------
Turning off the sytem permissions is still the best way to go.  I do this for all directories that I don't want indexed.  just go to the properties/security and remove the user (system) and next time you reindex the files will not be found.

Or you could set the permissions on the vti directories to authentacated users instead of everyone.
-------------------------------------------------------------
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question