Re: [htdig] prepare a search index for a different URL


Subject: Re: [htdig] prepare a search index for a different URL
From: Geoff Hutchison (ghutchis@wso.williams.edu)
Date: Fri Jan 12 2001 - 05:58:07 PST


At 11:42 AM +0100 1/12/01, Matthias Kleine wrote:
>http://www.customersdomain.com/projectfolder
>
>It should now be possible to install the htdig-files and to
>tell the search index that the first part of all URL's has
>changed to a different value (while everything else stayed
>the same).

What you'll want to do is to use the url_part_aliases attribute:
<http://www.htdig.org/attrs.html#url_par_aliases>

Index the site using something like this in your config file:
url_part_aliases: http://www.mydocumentation.com/ *1

Then when you install the documentation, you'll want to edit the
config file to read:
url_part_aliases: http://www.customersdomain.com/ *1

This will encode the URLs when indexing and make sure a different
pattern is there for decoding on the customer's end.

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

------------------------------------ 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 : Fri Jan 12 2001 - 07:02:33 PST