According to Torsten Henschel:
> i have a problem with xmlsearch from htdig 3.1.6 .
> If i call xmlsearch.cgi, the return is the normal html code from htdig, 
> but with text/xml as content type.
> I have copied the xml files of xmlsearch in commom, the cgi file in cgi 
> of webserver and the conf file to conf directory of htdig.
> 
> Can you help me by this problem?

You didn't read the comments in xmlsearch.cgi very carefully.  It's intended
for pre-3.1.6 versions of htsearch.  You don't need it for 3.1.6 because
it handles the search_results_contenttype attribute.  It seems to me the
source of the problem is that you didn't tell htsearch which config file
to use, so it's falling back to the default htdig.conf.  You should be
setting the "config" input parameter to "xml", so it uses xml.conf.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to