Commit 5cb49246 authored by Joshua Slive's avatar Joshua Slive
Browse files

The default for DefaultType is text/plain, not text/html.

PR: 8927


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95019 13f79535-47bb-0310-9956-ffa450edef68
parent 42fa1805
Loading
Loading
Loading
Loading
+1 −1
Changes for docs/manual/mod/core.html: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ headers</td></tr><tr><td><a class="help" href="directive-dict.html#Syntax">Synta
    output from CGI scripts, and byte range responses do not have
    this header.</p>
<hr/><h2><a name="DefaultType">DefaultType</a> <a name="defaulttype">Directive</a></h2><table bgcolor="#cccccc" border="0" cellspacing="0" cellpadding="1"><tr><td><table bgcolor="#ffffff"><tr><td><strong>Description: </strong></td><td>Sets the MIME content-type that will be sent if the
server cannot determine a type in any other way</td></tr><tr><td><a class="help" href="directive-dict.html#Syntax">Syntax:</a></td><td>DefaultType <em>MIME-type</em></td></tr><tr><td><a class="help" href="directive-dict.html#Default">Default:</a></td><td><code>DefaultType text/html</code></td></tr><tr><td><a class="help" href="directive-dict.html#Context">Context:</a></td><td>server config, virtual host, directory, .htaccess</td></tr><tr><td><a class="help" href="directive-dict.html#Override">Override:</a></td><td>FileInfo</td></tr><tr><td><a class="help" href="directive-dict.html#Status">Status:</a></td><td>Core</td></tr><tr><td><a class="help" href="directive-dict.html#Module">Module:</a></td><td>core</td></tr></table></td></tr></table>
server cannot determine a type in any other way</td></tr><tr><td><a class="help" href="directive-dict.html#Syntax">Syntax:</a></td><td>DefaultType <em>MIME-type</em></td></tr><tr><td><a class="help" href="directive-dict.html#Default">Default:</a></td><td><code>DefaultType text/plain</code></td></tr><tr><td><a class="help" href="directive-dict.html#Context">Context:</a></td><td>server config, virtual host, directory, .htaccess</td></tr><tr><td><a class="help" href="directive-dict.html#Override">Override:</a></td><td>FileInfo</td></tr><tr><td><a class="help" href="directive-dict.html#Status">Status:</a></td><td>Core</td></tr><tr><td><a class="help" href="directive-dict.html#Module">Module:</a></td><td>core</td></tr></table></td></tr></table>
    <p>There will be times when the server is asked to provide a
    document whose type cannot be determined by its MIME types
    mappings.</p>
+1 −1
Changes for docs/manual/mod/core.xml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -342,7 +342,7 @@ headers</description>
<description>Sets the MIME content-type that will be sent if the
server cannot determine a type in any other way</description>
<syntax>DefaultType <em>MIME-type</em></syntax>
<default>DefaultType text/html</default>
<default>DefaultType text/plain</default>
<contextlist><context>server config</context><context>virtual host</context>
<context>directory</context><context>.htaccess</context>
</contextlist>