At 10:08 PM -0800 10/28/01, Jim Popovitch wrote:
>Using the existing flagspot.net db, I copied the flagspot.net.conf file to
>fotw.conf and added this statement at the bottom:
>   url_part_aliases:  http://www.fotw.ca  http://flagspot.net 
>
>I believe that the above should convert all references from flagspot.net to
>www.fotw.ca, right?

No, I'm afraid you didn't understand the example. The 
url_part_aliases attribute uses two config files. So you'd index with 
one config file. e.g.:

url_part_aliases: http://www.fotw.ca/ *1

Where you pick *1 to be some pattern that's impossible to occur in a 
URL otherwise. Then you set up a config file for searching, e.g.:

url_part_aliases: http://flagspot.net/ *1

Basically, url_part_aliases defines a compression/decompression 
routine. The URLs are encoded from 1->2 on digging and are decoded 
from 2->1 on searching. So if you only have one config file, you 
won't see a difference.

-- 
--
-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