Re: htdig: Rewriting URL's in possible?

Alexander Bergolth (
Tue, 12 Jan 1999 12:18:50 +0100

At 07:41 12.01.99 , Marjolein Katsma wrote:
>At 16:49 1999-01-11 -0800, you wrote:
>>Doug wrote:
>>> a variety of reasons, after you access our site for the first time you
>>> are redirected from "" to "" Part of
>>> the reason for this is to append a tracking number, like
>>> ...html?000.lotsmorenumbershere. This isn't the end of the world,
>>> however what we'd really like to do is rewrite indexed url's of the form
>>> "" to
>>> "".
>>> [...]
>I'd take another approach. Define a configuration parameter that pairs
>old-string new-string (maybe any number of pairs)
>and apply these replacements to the URL just before adding it to the
>database. (SWISH-E has a similar mechanism.)

Look at the server_aliases directive. It translates the server part of the


Alexander (Leo) Bergolth
WU-Wien - Zentrum fuer Informatikdienste
Info Center
In a world without walls and fences, who needs windows and gates?

To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the body of the message.

This archive was generated by hypermail 2.0b3 on Wed Jan 13 1999 - 09:13:05 PST