Re: [htdig] Virtual Host Problems


Subject: Re: [htdig] Virtual Host Problems
From: Jason Carvalho (J.Carvalho@Cranfield.ac.uk)
Date: Wed Feb 16 2000 - 01:00:24 PST


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: J.Carvalho@Cranfield.ac.uk
Tel:   01234 750111  x2159
---------------------------------

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Wed Feb 16 2000 - 01:02:35 PST