?
Solved

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

Posted on 1997-09-25
4
Medium Priority
?
555 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 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
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.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Suggested Courses

765 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