[imp] html view in imp (MSWord?)
Rick Romero
Rick@valeoinc.com
Fri, 17 Aug 2001 07:55:51 -0500
On 17 Aug 2001, at 7:01, Anil Madhavapeddy wrote:
> On Thu, Aug 16, 2001 at 04:06:59PM -0500, Rick Romero wrote:
> > If I install an application, at least from /usr/ports (don't remember if
> > a regular 'make install' does it), it can't be executed until I relog in.
> >
> > It's like all the binaries in my path are cached, and it needs to be
> > refreshed. <shrug>
>
> Its your shell. Try 'rehash'
ah. Ok, thanks.
> >
> > I didn't realize I had to restart a daemon to 'refesh the path cache'
> > for a daemon also.
> > A restart of apache made wvHtml functional. Therefore I
> > conculded, the same 'path cache' thingy happens with daemons.
>
> Nope. The mime_drivers file is read per-URL and is not cached
> anywhere; a restart of apache would not help - you must have had
> some other config change to httpd.conf that hadnt been activated.
It's not the mime_drivers that I was thinking was cached, but the
path apache was using. But, if you say the path is a shell thing,
then it DOES point to a change in httpd.conf.
I recreated the process, and that MUST be what happened.
(change in httpd.conf)
> Random comment on this thread:
> Inlining the msword driver wont automatically cause it to be
> displayed inline, since the Content-Disposition header is used to
> determine the behaviour first. Most mail clients mark word
> attachments as 'attachment' (surprise), and not 'inline', so
> it'll invariably show up as an attachment.
ahhh. Which actually brings up another question I had. How is the
mime_mapping applied? Everytime I send an excel file from
Pegasus Mail (ok, not a whole lot of testing going on here), it
shows up as an application/octet-stream. I saw in CHANGES, that
mime_mapping is experimental, in the future c/would it be used to
try and autodetect mime types by file extensions?
At this point a user is kind of stuck, if the mime type is wrong, and
they don't have the proper app installed locally.
What's the best solution?
Rick