On Sun, 17 Feb 2002, Scott Anson wrote:

> 1)how to I get htdig to only connect to urls beginning with "http://"; and
> to ignore any beginning with "ftp://"; ?

Not a problem. In the 3.1.x versions and prior, only http:// URLs are
considered. In the 3.2 betas, other URL protocols are implemented cleanly,
but as of yet, there's no ftp:// code.

I guess in your case, that would count as a feature?

> 2)I am wanting to search all servers with an IP of "128.95.*" or
> "140.142.*".  Is there any way to configure this?  If not, there is a
> dictionary of servers in the Retriever class and I can check it from
> there (I think).

Not easily. Since IP addresses can span multiple domains, this is not
really implemented. But it's pretty easy to do something like:

start_url: http://www.foo.com/
limit_urls_to: foo.com bar.com

where foo.com = 128.95.* and bar.com = 140.142.*.

Just remember that matches are by string patterns, so unless you really
want to match actual * characters, don't try "wildcards."

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to