Re: [htdig3-dev] Portable indexing


Subject: Re: [htdig3-dev] Portable indexing
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Fri Nov 05 1999 - 10:05:14 PST


According to Geoff Hutchison:
> On Fri, 5 Nov 1999, Rick Richardson wrote:
> > Problem is, htdig reports this and doesn't index anything.
> >
> > + htdig -v -v -c /home/httpd/html/rfc/.htdig/htdig.conf -i
> > New server: , 0
> > Unknown host: 0/robots.txt
> > pick: , # servers = 1
> > Is it currently possible to tell htdig to do what I want to do?
>
> Well, maybe. I'd suggest setting the host to 'localhost' which will work
> on almost all machines.
>
> The problem is that local_urls doesn't work for everything--it falls back
> to HTTP for many things, including robots.txt. So it's trying to build a
> connection to the host you specified, which is the null string. No good.
> >From this, it worries that it will *ever* be able to make an HTTP
> connection to the server (it won't) and give up.

You could always use url_part_aliases to rewrite the urls as you want on
the target system. E.g.:

url_part_aliases: http://localhost/rfc *rfcs

for htdig, then

url_part_aliases: file:/whatever/path/you/want/rfc *rfcs

or

url_part_aliases: http://my.domain.org/docs/network/rfc *rfcs

for htsearch on the target system.

-- 
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 htdig3-dev mailing list, send a message to htdig3-dev@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.



This archive was generated by hypermail 2b25 : Fri Nov 05 1999 - 10:15:36 PST