Solved

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

Posted on 1997-09-25
4
544 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
  • 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now