Microsoft KB Archive/142859

= Configuring Internet Server Gopher Searches =

Article ID: 142859

Article Last Modified on 6/23/2005

-

APPLIES TO


 * Microsoft Internet Information Server 1.0

-



This article was previously published under Q142859



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SUMMARY
The search function to search for files on a Gopher server is not included with Microsoft Internet Server. However, Microsoft Internet Server does support searching through the European Microsoft Windows NT Academic Centre (EMWAC) Wide Area Information Server (WAIS) Toolkit, which is included in the Windows NT Resource Kit. You can use these tools to prepare and search full-text databases for computers running Microsoft Windows NT.

NOTE: If you install the WAIS Toolkit, make sure to do it after you install the Microsoft Internet Information Server software.



MORE INFORMATION
The following procedure shows how the server conducts searches for information:


 * 1) The process passes the information typed in at the client as search strings.
 * 2) The server does the search.
 * 3) The filenames containing the strings are retrieved.
 * 4) The server converts the filenames to a Gopher Menu.
 * 5) The server sends the Gopher Menu to the client.

To configure the server for searches, you need to do the following:


 * Configure an index of keywords to speed up the search.
 * Set up search tools, either by selecting them from other sources, or by writing your own.
 * Create tag information for all searches supported by a particular server.

Creating an Index File
First, install the EMWAC WAIS software. Then you can create an index file by using the WAIS Toolkit.


 * 1) Prepare a directory to work in, for example:

C:\Search
 * 1) Create a subdirectory to hold the files you are going to index, for example:

C:\Search\Here
 * 1) Put some text files into the C:\Search\Here directory. These files must be ASCII text files.

To Create an Index

 * 1) Make C:\Search your current directory.
 * 2) Execute the following command with these parameters:

waisindex -d myindex here\*
 * 1) Check the messages from Waisindex to make sure that there are no errors.
 * 2) In the C:\Search directory, type DIR to make sure that Waisindex has created the seven index files named Myindex.*.
 * 3) Search your files. For the example, search for a word that you know is in the files.

Searching the Index
The Waislook command in the EMWAC WAIS Toolkit allows you to search files through the index file you created with Waisindex. Make sure C:\Search is the current directory and execute the following command with these parameters:

waisindex -d myindex word

where word is any word that you know appears in one of the files.

Check the output of Waislook, which will show you the names of the files that contain the word you typed.

Configuring Log Records
When you set up a Gopher server, you can see who has been using it and how many times your online information was accessed. Through Gopher you can log incoming connections to the server.

To record logs properly:


 * 1) Determine in which directory the logs will be stored.
 * 2) Specify the frequency with which logs are collected (every day, every week, every month, etc.).
 * 3) Select the log tools you want to analyze the logs your server collects.

Additional query words: prodiis1 gopher wais emwac

Keywords: kbusage KB142859

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.