Subject: Re: [htdig] local filesystem...
From: Gilles Detillieux (firstname.lastname@example.org)
Date: Tue Aug 08 2000 - 13:32:19 PDT
According to Tim Perdue:
> I'm trying to index about 100,000 hypermail files on a local hard disk
> and have them indexed with ht://dig. The problem is, ht://dig is digging
> using the web URLs instead of digging the local filesystem.
> All of my files end in .php and I see that is not a supported file
> extension by default.
> The files, even though they end in .php, should be treated as if they
> are regular .html files and I want them all read from the filesystem NOT
> the website.
The file name extensions that htdig allows for indexing by local_urls is
hard-coded in htdig/Document.cc, so it's not settable by any configuration
attribute. Your only option at this point is to edit the source and
rebuild. The plan is to eventually add mime types support to that code,
so that it can determine the content type of any file. Until someone
implements that, we've stayed with commonly indexed, static file types.
Files with .php usually include dynamic content, and so must be parsed
by the server. If you don't care about indexing the dynamic content,
that's your prerogative, but we can't as a design decision make htdig
index .php, .asp, .cfm or .shtml files directly by default, as that is
most often NOT what users would want.
-- Gilles R. Detillieux E-mail: <email@example.com> 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 firstname.lastname@example.org You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Tue Aug 08 2000 - 03:31:51 PDT