From: Rich Bowen
Consider, for example, a resource called
+ document.html
which is available in English, French,
+ and German. The files for each of these are called
+ document.html.en
, document.html.fr
, and
+ document.html.de
, respectively. The type map file will
+ be called index.html.var
, and will contain the
+ following:
+
+ Content-language: en
+ Content-type: text/html
+ URI: document.html.en
+
+ Content-language: fr
+ Content-type: text/html
+ URI: document.html.fr
+
+ Content-language: de
+ Content-type: text/html
+ URI: document.html.de
+
+
+
All four of these files should be placed in the same directory,
+ and the .var
file should be associated with the
+ type-map
handler with an AddHandler
directive:
+ AddHandler type-map .var
+
A request for document.html
in this directory will
+ result in document.html.var
being consulted, and the
+ variant chosen which most closely matches the language preference
+ specified in the user's Accept-Language
request
+ header.
A request for document.html
in this directory will
result in document.html.var
being consulted, and the
diff --git a/docs/manual/mod/mod_negotiation.xml.ja b/docs/manual/mod/mod_negotiation.xml.ja
index fd67e25735c..f67e7411885 100644
--- a/docs/manual/mod/mod_negotiation.xml.ja
+++ b/docs/manual/mod/mod_negotiation.xml.ja
@@ -1,7 +1,7 @@
-
+