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

2001-01-17 Thread Gilles Detillieux

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: <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  
FAQ:




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

2001-01-15 Thread Geoff Hutchison

At 4:02 PM -0800 1/15/01, Jon Beyer wrote:
>This is probably a really easy thing, but I can't get
>htdig to index HTML from my hard drive.

You can't in 3.1.5. It only understands http:// URLs natively.

The current 3.2 development snapshots will index file:// URLs and 
recursively generate directory listings if this is something very 
important to you.

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


To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  
FAQ:




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

2001-01-15 Thread 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.

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/


To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  
FAQ: