Re: [htdig] Trying local files ... Found existing file xyz Local


Subject: Re: [htdig] Trying local files ... Found existing file xyz Local
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Mon Jun 05 2000 - 10:25:33 PDT


According to Geoff Hutchison:
> On Sat, 3 Jun 2000, Tamas Nagy wrote:
> > The local file path was seem to be correct! The config file has the entries:
> > limit_urls_to: http://mydomain.com/ /home/httpd/html/
> > local_urls: http://mydomain.com/=/home/httpd/html/
> >
> > The htdig -v printed the followings:
> >
> > "Trying local files ... Found existing file xyz Local retrieval failed,
> > trying HTTP"
>
> You would get messages like this if htdig tried to open the file for
> reading but could not. It's probably a permission problem. Check the
> permissions on the directories as well as the files (e.g. /home/httpd
> might be too restrictive).

The program also puts out the "Found existing file" message before
looking at the file name extension to see if it's a type it handles.
Currently, it only allows .html, .htm, .txt, .asc, .pdf, .ps and .eps
files, as those are the only ones it can definitively peg a mime-type
on right now. If the file has no extension (e.g. xyz and not xyz.html),
then it will fall back to HTTP to allow the server to determine the mime
type of the file.

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



This archive was generated by hypermail 2b28 : Mon Jun 05 2000 - 08:15:27 PDT