According to Tran, John:
> Is there a way for the search results to show URL's respectively to a domain
> name you designate?
> 
> For example, in my htdig.conf, I'm specifying 'start_url' as
> http://test.mydomain.com/.
> 
> This works fine for inside my office since the url 'test.mydomain.com' is to
> accomodate an internal IP (172.16.2.135)..
> 
> However, this box also has a public ip, w/ a different domain name:
> 'test-ext.mydomain.com' IP (207.235.87.78).
> 
> The problem is when I hit http://test-ext.mydomain.com, and do a search, all
> the results show up as "http://test.mydomain.com"; which translates to a
> private ip (172.16.2.135), thus I'm unable to view the results from outside
> the office.
> 
> Inktomi has an option called "URL Mask", so that no matter what you
> designate as the "start_url", you'll be able to specify a URL you'd like it
> to look like, so that it replaces the url correspondingly.

Put this in your config file for htdig/htmerge and reindex your site:

url_part_aliases:       http://test.mydomain.com/       *1

Put this in your config file for htsearch:

url_part_aliases:       http://test-ext.mydomain.com/   *1

See http://www.htdig.org/attrs.html#url_part_aliases

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
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