Bruce Potter wrote:
> I'm having a problem getting htdig to index all the sites correctly. I've
> found very little documentation on how to handle virtuals, both from the
> config angle as well as cgi implementation area.
>
> In my config file, I have
> allow_virtual_hosts: true
> start_url: http://www.domain1.com/
> limit_urls_to: ${start_url}
>
you need to do :
start_url: http://www.domain1.com/
limit_urls_to: ${start_url} http://www.domain2.com/
http://www.domain3.com/
etc.
You also need to make sure there are sufficient links from
www.domain1.com to all the other domains, if not you will need to use
multiple start_urls.
Then to search only one domain, just do
<input type=whatever name="restrict" value="www.domain3.com">
I have recently installed HtDig 3.1.4 and now have it successfully
running on 8 virtual domains with this configuration.
Jason
--
---------------------------------
Jason Carvalho
Web Analyst
Cranfield University
Email: [EMAIL PROTECTED]
Tel: 01234 750111 x2159
---------------------------------
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.