Greetings Robert, I think I'm missing something here. Currently, if the start_url (or any subsequent link) specifies a numeric URL, then that is what ht://Dig uses. It seems to work on my system (192.168.0.29). It also works if I use the start_url as http://tower/ even though host tower fails.
What do you suggest the options should control? If you particularly want to use numeric addresses for non-global IP addresses, how about something along the lines of host=`hostname -f` if host $host | grep 'not found' > /dev/null then host=`ping $host | head -1 | sed 's/[^(]*(\([^)]*\)).*/\1/'` fi sed "s-start_url:.*-start_url: http://$host/-" < htdig.conf > Tmp mv Tmp htdig.conf I think that should find the appropriate name of the local host -- if the symbolic name can be found, then it will use that. Otherwise, it will use the numeric address. Is that the sort of thing you are after? Cheers, Lachlan On Tue, 13 Apr 2004 02:10 am, Robert Ribnitz wrote: > Many people will be using htdig to do a full-text index of their > documentation they have installed (e.g. man-pages, howto's etc). > Those people will be using localhost. Other people might use it in > a small network, with many similar installs. Ht://Dig will be > installed on a documentation server, and public ip ranges > (192.168.x.y, eg.) will be used to access the server. I think the > number of users using htdig on an externally accessible site, with > a unique ip address will be the minority. > > To solve the debian problem, I could therefore ask whether htdig > would be accessible form other computers, and if so, if the dns > should be used to resolve the name or whether ip addresses should > be used. > > For this reason, I propose to introduce further config file > entries, like: > > 1) use numerical ip's (default = yes) > 2) use dns name of the system (default= no) > 3) use rfc1918 (default=yes) -- [EMAIL PROTECTED] ht://Dig developer DownUnder (http://www.htdig.org) ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ ht://Dig Developer mailing list: [EMAIL PROTECTED] List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-dev