There should be no need for anything this complicated - it is easy to specify multiple starting points, and multiple 'restrict' items, in the same config, and carry out a single index of both sites.
 
Regards,
Mike


From: htdig-general-bounces@lists.sourceforge.net [mailto:htdig-general-bounces@lists.sourceforge.net] On Behalf Of Jennifer Gallardo
Sent: Monday, November 20, 2006 9:13 PM
To: htdig-general@lists.sourceforge.net
Subject: Re: [htdig] Indexing 2 domains

EC,

Try this: create a separate conf file for the second domain (say, second_domain.conf) and give that as a parameter to rundig:

rundig -c ../conf/second_domain.conf

That will index the second domain (make sure to choose a different location for the database so as not to overwrite your first domain).  Then use htmerge to merge the two databases into one.

I'm not too familiar with htmerge, but this should work from what I've read.  If someone knows of a better method, please advise.

Hope this helps,

Jen

On 11/18/06, ercarlso.htdig@spamex.com < ercarlso.htdig@spamex.com> wrote:
Hi,

I have been using htdig to search my one domain, and it has been working great.

Now, I have 2 domains and would like to index both domains from my htdig on domain #1.  I attempted to do this in my htdig.conf in an obvious (for me) way, but it didn't work (only indexed the 1st (local) domain).

I would like to know if searching 2 domains is supported and I should keep trying, or is it simply not supported?

If it is supported, I would love to see a simple example how it might be done in the htdig.conf file.

Thanks,
EC

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ht://Dig general mailing list: <htdig-general@lists.sourceforge.net >
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general