Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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 it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

636 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