]> granicus.if.org Git - apache/commitdiff
The default for DefaultType is text/plain, not text/html.
authorJoshua Slive <slive@apache.org>
Thu, 9 May 2002 17:33:12 +0000 (17:33 +0000)
committerJoshua Slive <slive@apache.org>
Thu, 9 May 2002 17:33:12 +0000 (17:33 +0000)
PR: 8927

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95019 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.html
docs/manual/mod/core.xml

index c835b3c289b907c2f0bab33b88d8e109cb1cbded..667b246314e0766e9905def0c916740fd40832fe 100644 (file)
@@ -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>
index ef10b522918a25b2459c0f929f005a6e1149d6b8..d57141510f9a9aa69ba86d535cf460810b2ee793 100644 (file)
@@ -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>