I do have the option to ask questions (and to propose a default) for the site to be indexed. This is done using debconf, hence probably only interesting for the debian part. The idea to use the site htdig is built on is probably not a good one, since for debian (and possibly for other distributions), the packages are built on build farms, and not on the end-user's machine. The end user only installs the package, ready for use.
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)
Those are ofc just ideas
Robert
Lachlan Andrew wrote:
Greetings Robert,
Since I haven't heard back, I assume that the person who filed the bug report you forwarded was satisfied.
I have been thinking some more about your suggestion of defaulting to indexing localhost rather than www.htdig.org. If we explicitly use http://localhost/ then of course the links will only be correct if the user running a search is browsing from the webserver itself (which will seldom be the case). It would be quite possible for us to set up htdig.conf to dig the site where ht://Dig is *built*, but that wouldn't help people installing packages. It seems to me that the package installation script is the appropriate place to customise the config files. Can you think of any alternatives?
Thanks, Lachlan
On Sat, 3 Apr 2004 20:25, Robert Ribnitz wrote:
As the maintainer of htdig in debian I am also responsible for the documentation that comes with htdig.(the htdig-doc package).
Recently an error was filed against that package, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=198740 However, to me it looks like the upstream thing (the doc at http://www.htdig.org) is not quite up to date for the 2.3.0b5 release.
Also imo, the applications defaults should be to index localhost, rather than 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
