On 15 Mar 2005 at 13:45, Timothy Ball wrote: > On Tue, Mar 15, 2005 at 12:19:47PM -0500, Dan Langille wrote: > > On 15 Mar 2005 at 11:57, Timothy Ball wrote: > > > > > Okay so I have gotten htdig to search thru different vhosts via lots and > > > lots of small htdig.conf files... but how do I tell htsearch that there > > > are different htdig.conf files to look at depending on which vhost the > > > client is coming hitting? > > > > Specify the correct htdig configuration file on the call to htsearch. > > Uhh... yeah how? I didn't think I could do that via a post in my .html? > Or am I missing something simple?
I may be misleading you... I use PHP, so I just change the call to htsearch. In PHP, this could be done via a hardcoded "htsearch - c..." or code that figures out the HTTP_HOST and injects that into the "htsearch -c /path/to/THISHOST.htdig.conf". I've glossed over a lot of the details here, in hopes that it at least helps. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ ht://Dig general mailing list: <[email protected]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

