Re: htdig and vhosts

Douglas Davis <[email protected]>
Newsgroups gmane.comp.web.htdig.general
Message-ID <[email protected]>
All Right, Already!!

Here is the code for the Search.html document.

**********  Start Cut and Paste Below this Line!
<html>

         <head>
<STYLE>
<!--
A{text-decoration:none}
-->
</STYLE>
                 <title>Monical's Intranet Search</title>
         </head>

         <body bgcolor="#fffff0">
                 <form method="POST" action="/cgi-bin/htsearch" 
enctype="x-www-form-urlencoded">
                         <h1><a href="http://www.htdig.org/"><img 
src="images/htdig/htdig.gif" align="BOTTOM" alt="ht://Dig" border="0" 
width="81" height="54" naturals$
                         <p></p>
                         <hr align="LEFT" noshade size="4">
                         <font face="Geneva">This will allow you to 
search all of the documents located on the Monical's Intranet Site. 
Please enter the$
                         </font>
                         <p><font size="+1">Match: <select name="method">
                                                 <option value="and" 
selected>All</option>
                                                 <option 
value="or">Any</option>
                                                 <option 
value="boolean">Boolean</option>
                                         </select> Format: <select 
name="format">
                                                 <option 
value="builtin-long" selected>Long</option>
                                                 <option 
value="builtin-short">Short</option>
                                         </select> Sort by: <select 
name="sort">
                                                 <option value="score" 
selected>Score</option>
                                                 <option 
value="time">Time</option>
                                                 <option 
value="title">Title</option>
                                                 <option 
value="revscore">Reverse Score</option>
                                                 <option 
value="revtime">Reverse Time</option>
                                                 <option 
value="revtitle">Reverse Title</option>
                                         </select> <input type="hidden" 
name="config" value="intra"> <input type="hidden" name="restrict" 
value=""> <input
type="hidden" name="exclude" value=""><br>
                                 </font><font size="+2">Search: <input 
type="text" size="30" name="words"> <input type="submit" 
value="Search"></font></p>
                         <hr align="LEFT" noshade size="4">
                 </form>
         </body>

</html>
********** End cut and paste here!!
Now ... What you need to know.  FIRST - the configuration file you 
create can be called anything as long as it ends in .CONF!  Check the 
value after NAME="config" - my file is called INTRA.conf - htsearch 
ALWAYS adds the .conf so name it correctly.  Put it in the SAME folder 
as the htdig.conf file and finally, create a duplicate BIN folder - 
mine is called binIntra!  Now, using the separate binIntra/rundig and 
setting it to use the intra.config you have a complete set of 
searchable databases.  Now, be sure to create a separate db folder - 
that goes without saying.

If you still can't follow this, return your computer and get out a 
pencil.  Enjoy!

-- 
|  Douglas S. Davis - Information Systems Coordinator
|  Monical Pizza Corporation  (http://www.monicals.com)
| - - - - - - - - - -
|  "Home of the Family Pleaser . . . People Pleasing People"
| - - - - - - - - - -
|  815/937-1890 - Voice  .  .  .  815/937-9828 - Fax
--



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.