[htdig] Multiple domain names pointing on the same site


Subject: [htdig] Multiple domain names pointing on the same site
From: gregh@easynet.fr
Date: Mon Jan 08 2001 - 06:54:43 PST


Hello

If a site can be reached via different domain names,
is there a trick to make htsearch generate result
links pointing to the domain name the user reached
the site with ?

For example, a.com and b.com resolve to the same
ip, and the virtual hosts in the www server are
configured to the same document root for both.

A user reaches the site a.com, makes a search, the result
would be www.a.com/searchedpage.html
If another user reaches the site b.com (wich is the same
document as a.com), the result would link to
www.b.com/searchedpage.html

Thank you in advance

Greg

------------------------------------
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 : Mon Jan 08 2001 - 07:06:55 PST