According to Gary Halpin:
> --- Geoff Hutchison <[EMAIL PROTECTED]> wrote:
> > On Fri, 29 Jun 2001, Gary Halpin wrote:
> > 
> > > Does that mean it's possible with v3.2.0b3 to have
> > > file:// URLs be built into ht://Dig's database?
> > 
> > Yes.
> > 
> Great!  My htdig.conf has:
> start_url:  file:///win/MyDocuments/OrgTxt-Lnx.htm
> 
> The resulting error is 
> "Unknown host or unable to contact server:
> file:///win/MyDocuments/OrgTxt-Lnx.htm Ref: http://";
> 
> Suggestions?

Other than trying the next snapshot, not really.  The most likely cause
of this error is a problem with inconsistent URL signatures, because
there's no host or server to contact.  The error message is a bit of a
red herring in this case.  However, I can't reproduce the error, and
I haven't seen any changes to the URL class since 3.2.0b3 that would
change the way it handles URLs like the one above.  Now, if you had

start_url:  file:/win/MyDocuments/OrgTxt-Lnx.htm

that would be a different story.

> What's the meaning of "Handle local_urls through
> file:// handler, for mime.types support." -- under
> "NEEDED FEATURES", htdig-3.2.0b3/STATUS

The handler for file:// URLs uses a mime.types file to determine the
content-type based on file name extensions.  Right now, the handler
for local_urls, which can map any arbitrary URL to the local file
system, uses a small set of hard-coded file name extensions.  With the
new file:// handler in 3.2 and its expanded capabilities, there's no
need to maintain a separate and more limited handler for local_urls.
The code for the two should somehow be merged together.

-- 
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

_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to