Greetings, We have a situation where a website is known by many aliases, e.g. www.banana.com, www.kiwi.com etc.
When we index the site, we use www.banana.com and use the directive: url_part_aliases: http://www.banana.com *1 So that the db contains no site-specific data. Now when someone runs htsearch, the results are generated and htsearch uses the directive above to re-insert the URL. But now everyone sees http://www.banana.com on the results page - even if they visited our site using www.kiwi.com. I've checked the docs pretty thoroughly and know that neither server_alias nor allow_virtual_hosts will help... What we really need is an intelligent url_part_aliases which will reflect the $HTTP_HOST in the substitution, e.g. url_part_aliases: $HTTP_HOST *1 But such a thing doesn't exist - right? Workarounds are; - separate DBs, configs etc. for each ServerAlias (big waste of space, files, effort). - a wrapper as reported in the mailing archive by Gilles R. Detillieux (http://www.htdig.org/mail/2001/01/0085.html) but this involves an extra script and forces us to use the GET method. Otherwise, it's a good solution and is the one we have adopted at the moment (thanks Gilles!). Has anyone else come across this problem and how did they solve it? Rgds, Owen Boyle. _______________________________________________ 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

