You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pc...@hyperreal.org on 1998/12/02 18:01:26 UTC
cvs commit: apache-1.3/htdocs/manual/mod mod_mime.html
pcs 98/12/02 09:01:26
Modified: htdocs/manual/mod mod_mime.html
Log:
Actually, without a DefaultLanguage documents are considered to have _no_
language attribute. Apache does not default to English.
Revision Changes Path
1.27 +16 -7 apache-1.3/htdocs/manual/mod/mod_mime.html
Index: mod_mime.html
===================================================================
RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/mod_mime.html,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- mod_mime.html 1998/12/02 03:45:51 1.26
+++ mod_mime.html 1998/12/02 17:01:26 1.27
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>Apache module mod_mime</TITLE>
@@ -324,12 +324,21 @@
The DefaultLanguage directive tells Apache that all files in the
directive's scope (<EM>e.g.</EM>, all files covered by the current
-<CODE><Directory></CODE> container) that don't have an explicit language
-extension (such as <SAMP>.fr</SAMP> or <SAMP>.de</SAMP>) should be
-considered to be the specified <EM>MIME-lang</EM> language
-by default, rather than English. This allows entire directories
-to be marked as containing Dutch content, for instance, without
-having to rename each file.
+<CODE><Directory></CODE> container) that don't have an explicit
+language extension (such as <SAMP>.fr</SAMP> or <SAMP>.de</SAMP> as
+configured by <SAMP>AddLanguage</SAMP>) should be considered to be in
+the specified <EM>MIME-lang</EM> language. This allows entire
+directories to be marked as containing Dutch content, for instance,
+without having to rename each file. Note that unlike using extensions
+to specify languages, <SAMP>DefaultLanguage</SAMP> can only specify a
+single language.
+
+<P>
+
+If no <SAMP>DefaultLanguage</SAMP> directive is in force, and a file
+does not have any language extensions as configured by
+<SAMP>AddLanguage</SAMP>, then that file will be considered to have no
+language attribute.
<P>