Re: [htdig] Hi, need help with searching database.


Subject: Re: [htdig] Hi, need help with searching database.
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Mon Dec 18 2000 - 08:40:10 PST


According to Akshay Guleria:
> thanx Gilles,
> However my problem is now fixed. I am using the following.
> htdig-3.2.0-0.b2.i386.rpm

Ah, I wasn't aware that this version was out in RPM. There are many
known bugs in 3.2.0b2, so don't be surprised if other problems occur.
The scoring bug in htsearch is very likely to turn up, unless this
RPM included a patch for this bug.

> There were 2 problems (in case you are interested):
> 1. htaccess files not allowing the rundig to connect to the server.

There's not much htdig can do about this. If the .htaccess file sets
up Basic authorization, then you can use the -u option to provide the
user name and password to the server. If the .htaccess file set up
some other restrictions, you're out of luck, but then these pages would
also be inaccessible from a standard web browser coming in from the same
address.

> 2. This file in /var/lib/htdig needed webserver owner's ownership.
> db.words.db_weakcmpr
>
> As soon as I owned it by "apache", it worked. I dont know but I think the
> rpm packager should have have taken care of this.
> Anyway, it works now.
>
> Thanx a lot for getting back.

This point was covered in FAQ 5.17. I didn't realize you were running
a 3.2 beta before. It's very important to mention which version you're
running, because many, if not most, of the bugs and problems that come
up are version-specific. There's not much the RPM packager can do
about this particular bug in htdig, because the db.words.db_weakcmpr
file is not normally part of the RPM distribution - it's only created
after installation, when you run the rundig script.

> -----Original Message-----
> From: Gilles Detillieux [mailto:grdetil@scrc.umanitoba.ca]
> Sent: Wednesday, December 13, 2000 11:20 PM
> To: akshay@himline.com
> Cc: htdig@htdig.org
> Subject: Re: [htdig] Hi, need help with searching database.
>
>
> According to Akshay Guleria:
> > I just installed Redhat7.0 on my machine. And then installed htdig rpm. I
> > can see the page
> > http://myhost/htdig/ which is the search page.
>
> Which htdig rpm did you install? For Red Hat 7.0, you should use the RPM
> for htdig-3.1.5-6 that comes with the 7.0 PowerTools.
>
> > I make a search and for any search I make, it returns a page saying
> > "No matches found for ... "
> >
> > Now, I ran rundig and it increased the file sizes in /var/lib/htdig. So, I
> > presume the database was created. And then I ran htmerge. But I still get
> > the
> > "No matches found .." page.
>
> If you run rundig, you don't need to run htmerge separately. The rundig
> script will run htdig followed by htmerge. You should try running
> your /var/www/cgi-bin/htsearch program right from the command line
> first, to see if that works. If it does, it may be an Apache server
> configuration problem, or a problem with your search form. Did you
> make any changes to the /var/www/html/htdig/search.html search form?
> If so, see http://www.htdig.org/FAQ.html#q5.17
>
> --
> Gilles R. Detillieux E-mail: <grdetil@scrc.umanitoba.ca>
> 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
>
> ------------------------------------
> To unsubscribe from the htdig mailing list, send a message to
> htdig-unsubscribe@htdig.org
> You will receive a message to confirm this.
> List archives: <http://www.htdig.org/mail/menu.html>
> FAQ: <http://www.htdig.org/FAQ.html>
>

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
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

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Mon Dec 18 2000 - 08:50:28 PST