At 10:19 AM -0400 8/2/01, jam wrote:
>start_url:              http://localhost/mail/blah.peering/
>local_urls: http://localhost/mail/=/var/www/html/mail-archive/
>url_part_aliases: http://localhost/mail/ https://hanta.phx1.gblx.net/mail/
>
>what I want in the results is that any url referencing localhost will be
>replaced by a reference to hanta (notice the https as well).

What you're missing is that url_parts_aliases uses *two* config 
files--one for indexing and one for searching.

So you setup a mapping like http://localhost/ -> *1 (here the *1 is 
simply a unique pattern that's not going to occur in a URL).

dig.conf:
url_part_aliases: http;//localhost/ *1

Then the search side "decodes" the mapping, usually into another URL:

search.conf:
url_part_aliases: https://hanta...

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

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to