[MKDoc-dev] [BUG] 1.6 404 error documents served as text/plain

Chris Croome chris at webarchitects.co.uk
Fri Oct 8 17:01:50 BST 2004


Hi

For some odd reason 404's served with the text/plain mime type, to fix
do this:

 vi flo/plugin/Error.pm
 :70s/text\/plain/text\/html; charset=UTF-8/

Once this has been done then the standard apache error document handler
is used, if you then want custom error document pages add this to the
httpd.conf for the site:

  ErrorDocument 404 /foo/bar/404.html

And create yur own error document at this location.

Chris

-- 
Chris Croome                               <chris at webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   


More information about the MKDoc-dev mailing list