Tanguy <[EMAIL PROTECTED]> writes: > On Friday 01 August 2003 20:42, Andrew M. Bishop wrote: > > Tanguy <[EMAIL PROTECTED]> writes: > > > Using wwwoffle for a while now and very happy about it, I am > > > desesperately trying to use the search facility from htDig.
> > What version of htdig are you using? > > version is: ht://Dig 3.2.0b4-072201 (standard RPM from Mandrake 9,1) I have got version 3.1.6 here (standard on Debian). It could be that there is a change in htdig that means that the older configuration files do not work with the newer version of htdig. Does anybody else use htdig OK with WWWOFFLE and what version of htdig is it? > > > The trouble are the following: > > > 1)almost no page seem to be indexed > > > > It looks like you are right, the htdig indexer is not following the > > links that it should to find the list of pages that have been cached > > by WWWOFFLE. I can't see why the links would not be followed. I can only imagine that the problem is with the configuration file. Does your page http://localhost:8080/search/start4.html contain a link to http://localhost:8080/search/index/ ? > > > 2) when a search apparentely return no result, I got a blank page. > > > > Do you literally mean that you get a blank page, or do you just get no > > results? > > > > What if you search for WWWOFFLE. This should at least return the FAQ. > > That is correct, the search with wwwoffle return the FAQ. but for any other > request where nothing is found (at least I guess so) I have got the blank > page and not a "No Result Found" page. You should get something back for other searches, not just a blank page. Perhaps your version of htdig is configured incorrectly. Try running (using the appropriate path to the WWWOFFLE cache which I took from you config files you sent): htsearch -c /home/var/wwwoffle/search/htdig/conf/htsearch.conf and then enter the search words and press return when it asks for the format. You should get back the HTML page that the browser would return. You might also like to try: env CONFIG_DIR=/home/var/wwwoffle/search/htdig/conf htsearch In both cases you might need to replace htsearch with the full path to the installed htsearch executable. You can also try running /home/var/wwwoffle/search/htdig/scripts/wwwoffle-htsearch which uses the WWWOFFLE wrapper script. > For what I understand from the htdig configuration files, the location of the > wwwoffle spool directory is not indicated and seems to be by default the one > from the compilation time. The htdig configuration files are updated when they are installed to have the wwwoffle spool directory set correctly. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop [EMAIL PROTECTED] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html
