Article View: comp.os.linux.networking
Article #598Re: Apache MIME types
From: Dominic Mitchell
Date: Thu, 22 Feb 1996 00:00
Date: Thu, 22 Feb 1996 00:00
29 lines
1590 bytes
1590 bytes
On Wed, 21 Feb 1996 15:00:22 GMT, RHS Linux User <root@fma10.fma.com> wrote: > 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 Nearly there. You might not be in runlevel 3, or the number 85 might not be guaranteed. What is better is to do "/etc/rc.d/init.d/httpd.init [start|stop]". -Dom
Technical Details
Message-ID:
<4gha2b$ai@myrddin.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4g8drj$un@bloggs.demon.co.uk> <824914822.11612@fma10.fma.com>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: dom@myrddin.demon.co.uk (Dominic Mitchell) Subject: Re: Apache MIME types Date: 1996/02/22 Message-ID: <4gha2b$ai@myrddin.demon.co.uk> X-Deja-AN: 140697889 x-nntp-posting-host: myrddin.demon.co.uk references: <4g8drj$un@bloggs.demon.co.uk> <824914822.11612@fma10.fma.com> organization: Radio Gnome Invisible newsgroups: comp.os.linux.networking,demon.tech.unix