Long-Cheng Li's bits of Thu, 1 Aug 2002 translated to:

>I have configured htdig to index and search a subdirectory in which there
>are hundreds of html files. htdig work fine.  Since I don't want users to
>browse this directory, so I created an empty index.htm file in the
>directory. However, htdig no longer do the indexing when I ran "rundig" and

See http://www.htdig.org/FAQ.html#q5.25

In short, htdig follows links to locate documents that should be
indexed. If you are creating an empty index.htm file, chances are
htdig starts with that file, finds no links, and decides that it
is done.

If you are just trying to prevent people from browsing when they
use a URL that requests the default index page, copy the
index.htm file and give it a different name. Use the URL of this
new file as the start_url; make sure you adjust limit_urls_to
appropriately. If you need something more secure than this, you
can add all the URLs you want indexed to a text file and then
use a start_url of form

start_url: `/path/to/file`


Jim



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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