Re: [htdig] how do you index local pages in 3.1.5?


Subject: Re: [htdig] how do you index local pages in 3.1.5?
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Wed Jan 17 2001 - 09:23:29 PST


According to Jon Beyer:
> This is probably a really easy thing, but I can't get
> htdig to index HTML from my hard drive. I tried
> setting start_url to file:/...., but that didn't work
> and I played around with local_urls_only and
> local_urls but couldn't get it to work. Any advice is
> greatly appreciated. Thanks.

htdig 3.1.5 doesn't handle file:/ URLs, only http://... URLs. You can
make local_urls work with this style of URL, if the documents are on the
same system as the one on which you run htdig, using a syntax similar to
this example from my system:

start_url: http://www.scrc.umanitoba.ca/
local_urls: http://www.scrc.umanitoba.ca/=/home/httpd/html/
local_user_urls: http://www.scrc.umanitoba.ca/=/home/,/public_html/

where /home/httpd/html corresponds to my Apache DocumentRoot setting.

Note that local_urls only indexes a certain limited set of file types,
determined by file extension. For any other file type, or for directory
URLs where there's no index.html, it falls back to the HTTP server.

See http://www.htdig.org/attrs.html#local_urls

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 09:37:49 PST