Re: [htdig] server_aliases


Subject: Re: [htdig] server_aliases
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Wed Oct 04 2000 - 09:39:49 PDT


According to Malcolm Austen:
> Simple question but I'd rather not have to rerun my dig to find the answer
> (my last run took 19 hours!) ...
>
> I've read the archives and found that (for 3.1.5 which I'm running) I must
> include the port numbers so I'm just left with the question of which way
> does the mapping go? That is, with:
>
> server_aliases: aaa:80=bbb:80
>
> will it be "aaa" or "bbb" in the database?
> (I need to know which to use in the htsearch "restrict" field.)
>
> [Perhaps both these points could be clarified in the documentation?]

The mapping goes left to right, so bbb would be the one used in
the database, and even when htdig fetches the documents. I thought
the example in http://www.htdig.org/attrs.html#server_aliases made it
abundantly clear, as it contains two mappings to the same canonical name.
It wouldn't make sense to map one name to two different names, would it?

In 3.1.5, the port numbers are optional. I'll make a note of that for
3.2's documentation.

-- 
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 : Wed Oct 04 2000 - 09:43:41 PDT