Posted by Steven Saunderson on 07/31/06 08:59
On Mon, 31 Jul 2006 04:44:13 -0400, "Chris F.A. Johnson"
<cfajohnson@gmail.com> wrote:
> >> In that case a file is rendered as text (.txt) I suppose :-)
> >
> > By default I believe. I'm sure there is an Apache option to specify the
> > default type but I've never used it. There is also a facility to get
> > Apache to try different extensions on the name (e.g. somewhere.htm) when
> > the original name is not found.
>
> It must be an Apache option. When I go to
> <http://cfaj.freeshell.org/testing/somewhere>, it serves it up as
> html, but when I use Apache on my local machine it gives me text.
I just checked an example .conf file and found :
# DefaultType is the default MIME type the server will use for a
# document
# if it cannot otherwise determine one, such as from filename
# extensions.
#
DefaultType text/plain
--
Steven
[Back to original message]
|