Article View: comp.os.linux.networking
Article #596Re: Apache MIME types
From: RHS Linux User
Date: Wed, 21 Feb 1996 00:00
Date: Wed, 21 Feb 1996 00:00
25 lines
1231 bytes
1231 bytes
In article <4g8drj$un@bloggs.demon.co.uk>, Ian Packer wrote: >Hello, > >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.) > >Any ideas why this might fail? mime.types is the place to add it: text/html htm is the line to add. Then do a kill -1 on your httpd -- or if you're using the apache server in RedHat, do: /etc/rc.d/rc3.d/S85httpd stop /etc/rc.d/rc3.d/S85httpd start -- Charlie
Technical Details
Message-ID:
<824914822.11612@fma10.fma.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: root@fma10.fma.com (RHS Linux User) Subject: Re: Apache MIME types Date: 1996/02/21 Message-ID: <824914822.11612@fma10.fma.com> X-Deja-AN: 140395311 x-nntp-posting-host: fma10.fma.com references: <4g8drj$un@bloggs.demon.co.uk> newsgroups: comp.os.linux.networking,demon.tech.unix