Re: [htdig] virtual hosts and url_part_aliases

Subject: Re: [htdig] virtual hosts and url_part_aliases
From: Gilles Detillieux (
Date: Wed Sep 20 2000 - 08:43:38 PDT

According to John Sullivan:
> We have a number of virtual hosts, which are something of the form:
> ->
> Now right now, assuming both have links to them (as often happens) we
> end up with two entries for a particular page, so if the word "febo" is
> on, a search for febo will turn up both
> the above URL's.
> What I'm thinking of doing (and am about to try) is setting up
> url_part_aliases thus:
> url_part_aliases: *1 \
> *1
> so that both will get stored the same way. Will this lead to any
> problems? I presume I'd then want to have a slightly different config
> file for search, so that *1 expands uniquely (probably to
> in this case).
> The two reasons we want to do this is so that we'd be able to restrict a
> search to and to rid of the double hits.

I'm pretty sure that url_part_aliases will not work for many-to-one
mappings as you need. It seems, from problem reports in the past couple
weeks, that things go awry when you try to use it in this way. It was
only designed for one-to-one mappings. You may have better success
with Andy Armstrong's patch for URL rewriting, available at the patch
archive site:

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
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 You will receive a message to confirm this. List archives: <> FAQ: <>

This archive was generated by hypermail 2b28 : Wed Sep 20 2000 - 08:46:40 PDT