Re: htsearch not running from a search.html file
Graeme Nichols <[email protected]> Tue, 08 Jul 2008 15:11:28 +1000
| Newsgroups | gmane.comp.web.htdig.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Vorl=E4nder wrote: > Graeme, > = >> Further to my enquiry yesterday I have managed to locate the sample = >> search.html file but htsearch still does not run. I get a small window >> which says; >> >> You have chosen to open >> >> HTSEARCH >> >> which is a: BIN file >> >> from /cgi-bin >> >> Would you like to save this file? > = > This points to your webserver configuration: the settings for the > cgi-bin directory are not correct, if it doesn't execute htsearch > but rather wants to serve it. I have double checked my web server config file and it is set up = correctly to run cgi programs. Other cgi programs run with no errors; it = is only htsearch which, to me, means that it is a problem peculiar to = htdig. I still get the above error. > = >> If I run htsearch from the command line without options I am asked for = >> the word to search for, then the text/html type and then I am presented = >> with the search results in html code. This code appears to not have any = >> sort of wrapper that supplies the opening and closing code for a standal= one >> web page. > = > What more than "html code" do you refer to that a "standalone web page" n= eeds? > = > Apart from that, it shows at least a separate line "Content-Type: text/ht= ml", > I'm pretty sure (can't test right now). The output from the command line has nothing but the body code. It is = missing all the opening and closing code normal to a html page. I have been reading and scratching my head for two days now. I am hoping = someone can help me. -- = Kind regards, Graeme Nichols. ... Registered Linux User 381781 (http://counter.li.org/) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ 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