Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Making httpd(8) deliver files as plain text?



On Tue, 11 Oct 2011 13:18:58 -0700 (PDT)
Paul Goyette <paul%whooppee.com@localhost> wrote:

> > If it's possible to add a "Content-Disposition: Inline" then it might
> > possibly work with FF as well
> 
> Add it where?
> 
> The file in question happens to be an externally-created log file.  It 
> really doesn't seem reasonable to modify the source data just because 
> the browser is lame.   :)

It would be an HTTP header; unfortunately -M doesn't allow to set a
Content-Disposition field anyway, now that I looked.  The data would
not need modifications, but the HTTPd would (or some CGI/lua script
written).

> The "Open-in-Browser add-on that was suggested earlier works just fine.

Nice
-- 
Matt


Home | Main Index | Thread Index | Old Index