diff options
author | pcs <pcs@unknown> | 1998-12-02 17:01:26 +0000 |
---|---|---|
committer | pcs <pcs@unknown> | 1998-12-02 17:01:26 +0000 |
commit | 7ef4d350337acd012dd605319f719295f1c4d983 (patch) | |
tree | 52b518f39d3daaa03fc998c95af427e90be26c40 /docs/manual/mod/mod_mime.html | |
parent | 9b6422cedbeddb6fa5910739e3e5939a6298d83c (diff) | |
download | httpd-7ef4d350337acd012dd605319f719295f1c4d983.tar.gz |
Actually, without a DefaultLanguage documents are considered to have _no_
language attribute. Apache does not default to English.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82433 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_mime.html')
-rw-r--r-- | docs/manual/mod/mod_mime.html | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/docs/manual/mod/mod_mime.html b/docs/manual/mod/mod_mime.html index f7fd1af552..990c8f16b0 100644 --- a/docs/manual/mod/mod_mime.html +++ b/docs/manual/mod/mod_mime.html @@ -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 @@ multiple extensions</A> 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> |