Office of Information Technology

Seaching a web site

If you would like to enable users to search your HTML and PDF documents on www.life.illinois.edu, you can use the htDig search engine we've installed. For more information about htDig, please see the htDig home page

Your pages are indexed automatically as part of the index for the entire server and you can restrict a search to just the directories you want.

Set up a page on the new server using HTML as below. You just need to modify the line below that says name=restrict to pick the directory you want to search.


<html>
<head>
<title></title>
</head>
<body>

<table>
<tr>
<td>
<a href="http://www.htdig.org"><img src="/htdig/htdig.gif" align=bottom
alt="ht://Dig" border=0></a>
</td>

<td>
<h3><font color="550000">Search my pages</font></h3>
<br><form method="post" action="/cgi-bin/htsearch">

<font size=-1>
Match: <select name=method>
<option value=and>All
<option value=or>Any
</select>

Format: <select name=format>
<option value=builtin-long>Long
<option value=builtin-short>Short
</select>

Sort by: <select name=sort>
<option value=score>Score
<option value=time>Time
<option value=title>Title
<option value=revscore>Reverse Score
<option value=revtime>Reverse Time
<option value=revtitle>Reverse Title
</select>
</font>

<input type=hidden name="config" value="life">
<input type=hidden name=restrict value="/help/">
<input type=hidden name=exclude value="">

<br>
Search:
<input type="text" size="30" name="words" value="">
<input type="submit" value="Search">

</form>
</td>
</table>
</body>
</html>

Return to Frequently Asked Questions
help@life.illinois.edu