Hi all,

I am attempting to use the script_name attribute is display result
searches from 
within an ssi page.

However, all I seem to be able to get returned is 
"ht://Dig error
htsearch detected an error. Please report this to the webmaster of this
site. 
The error message is:
Unable to read word database file
Did you run htmerge?"

If I comment out the script_name from the config and set the action of
the form to be /cgi-bin/htsearch it returns results, making me think
that the error is something else.  
Previously we used wrapper files which work ok, but is a  hassle to
update.  
I also want to call another cgi from the results.shtml (searching
another database).

Following the examples/doc that I have found I have copied 
/contrib/scriptname/templates to /search 

Below is an except from the config file
script_name:    /fullpath/search/results.shtml
search_results_header:  /fullpath/search/header.html
search_results_footer:  /fullpath/search/footer.html
nothing_found_file:     /fullpath/search/nomatch.html
syntax_error_file:      /fullpath/search/syntax.html
template_map:  Long long  /fullpath/search/long.html \
               Short short  /fullpath/search/short.html
template_name: long

I've replaced <!--#exec cgi="/cgi-bin/htsearch" --> with 
<!--#include virtual="/cgi-bin/htsearch" --> which I understand is
equally valid.

Does anyone have any ideas.
Thanks in advance,
Georgina.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Georgina Allbrook    
WebTeam : ITS Division : University of Waikato
http://phonebook.waikato.ac.nz/dept/WWTE.html
Ph 64 7 856 2889 x 6086

I am the Cat who walks by himself, 
and all places are alike to me.
--- Rudyard Kipling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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

Reply via email to