Administration
  Home arrow Administration arrow Page 6 - Site Search with HTDIG
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ADMINISTRATION

Site Search with HTDIG
By: icarus, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 17
    2004-04-12

    Table of Contents:
  • Site Search with HTDIG
  • Digging Deep
  • Source Control
  • Script Barf
  • Variable Control
  • A Well-Formed Plan
  • What You See
  • Custom Job
  • Out With The Old
  • Caveat Emptor
  • Ending The Dig

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Dell PowerEdge Servers

    Site Search with HTDIG - A Well-Formed Plan
    (Page 6 of 11 )

    When ht://Dig is first installed, a sample search form is automatically installed into the directory specified via the "--with-search-dir" configuration parameter. In this particular example, I had specified that the form be installed to "/usr/local/apache/htdocs/htdig/sample" - so trot on over there and take a look inside:

     
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
    <html
    <head
    <title>ht://Dig WWW Search</title> 
    </head> 
    <body bgcolor="#eef7ff"> 
    <h1> 
    <a href="http://www.htdig.org"><IMG SRC="/htdig/images/htdig.gif" 
    align="bottom" alt="ht://Dig" border="0"></a> 
    WWW Site Search</h1> 
    <hr noshade size="4"> 
    This search will allow you to search the contents of 
    all the publicly available WWW documents at this site. 
    <br> 
    <p> 
    <form method="post" action="/cgi-bin/htsearch"> 
    <font size="-1"> 
    Match: <select name="method"> 
    <option value="and">All 
    <option value="or">Any 
    <option value="boolean">Boolean 
    </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="htdig"> 
    <input type="hidden" name="restrict" value=""> 
    <input type="hidden" name="exclude" value=""> 
    <br> 
    Search: 
    <input type="text" size="30" name="words" value=""> 
    <input type="submit" value="Search"> 
    </form> 
    <hr noshade size="4"> 
    </body> 
    </html> 

    More Administration Articles
    More By icarus, (c) Melonfire


     

       

    ADMINISTRATION ARTICLES

    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization
    - Advanced Concepts on Dealing with Files and ...
    - Dealing with Files and Filesystems
    - More Hacks for the User Environment in BSD
    - Personalizing the User Environment in BSD
    - Customizing the User Environment in BSD

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway