🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.networking
Article #595

Re: Apache MIME types

#595
From: Miles O'Neal
Date: Tue, 20 Feb 1996 00:00
22 lines
1492 bytes
Ian Packer wrote:
> I'm trying to configure an Apache Web Server but have a couple of anomolies.
> 
> I want to enable the use of htm as a file extension for html, I've tried adding
> a line to srm.conf and .htaccess such as "AddType text/html htm" to no effect,
> I tried editing the mime.types file and this didn't work either.
> (I'm testing this by entering a URL of http://localhost)

You'd be better off asking this in comp.infosystems.www.servers.unix, but here
goes.

First, if that's really the line you added, you probably need a '.' before the
extension.  You would in NCSA.

Secondly, did you restart the server after you changed the file?

You shouldn't have to mess with mailcap or mime.types, because you
aren't defining a new type - just mapping a new extension to an
extant type.

-Miles
meo@schoneal.com
Technical Details
Message-ID: <312AB39E.3F098D72@schoneal.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4g8drj$un@bloggs.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10669a,d65f797b2b44c97a
X-Google-Attributes: gid10669a,public
X-Google-Thread: fac57,d65f797b2b44c97a
X-Google-Attributes: gidfac57,public
From: Miles O'Neal <meo@schoneal.com>
Subject: Re: Apache MIME types
Date: 1996/02/20
Message-ID: <312AB39E.3F098D72@schoneal.com>
X-Deja-AN: 140374803
references: <4g8drj$un@bloggs.demon.co.uk>
followup-to: comp.infosystems.www.servers.unix
content-type: text/plain; charset=us-ascii
organization: Roadkills-R-Us
mime-version: 1.0
newsgroups: comp.os.linux.networking,demon.tech.unix
x-mailer: Mozilla 2.0 (X11; I; Linux 1.2.1 i486)