You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Paul Richards <p....@elsevier.co.uk> on 1996/04/29 18:50:32 UTC

Re: WWW Form Bug Report: "DirectoryIndex ignores MIME types" on FreeBSD

In reply to Rob Hartill who said
> 
> 
> not acked.
> 
> Symptoms:
> --
> When I configure in srm.conf (note the .HTM, not .HTML):
> 
> 	DirectoryIndex welcome.htm
> 	AddType text/html .htm
> 
> and have a directory with only welcome.htm then,
> when I retrieve http://host.at.domain/directory
> I get the contents of welcome.htm as a text/plain
> file. The browser does not format the page but shows
> the HTML 'code' (which is not what I intended).

This is what I saw with NCSA 1.5, if you don't add a trailing slash it
doesn't parse the html.

-- 
  Paul Richards. Originative Solutions Ltd.  (Netcraft Ltd. contractor)
  Elsevier Science TIS online journal project.
  Email: p.richards@elsevier.co.uk
  Phone: 0370 462071 (Mobile), +44 (0)1865 843155