language.
From the http://www.ethnologue.com/ survey of languages, their data
is, in descending order [in millions, by primary and pri+sec speakers]
EN 341 508
ES 322 417
DE 100 128
FR 77 128
So that's the order I chose, and why.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92657
13f79535-47bb-0310-9956-
ffa450edef68
#
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv tw
+#
+# ForceLanguagePriority allows you to serve a result page rather than
+# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
+# [in case no accepted languages matched the available variants]
+#
+ForceLanguagePriority Prefer Fallback
+
#
# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# copying them to /your/include/path/, even on a per-VirtualHost basis.
#
+<IfModule mod_negotiation.c>
<IfModule mod_include.c>
Alias /error/ "@@ServerRoot@@/error/"
AddHandler type-map var
Order allow,deny
Allow from all
+ LanguagePriority en es de fr
+ ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
</IfModule>
+</IfModule>
#
# The following directives modify normal HTTP response behavior.
#
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv tw
+#
+# ForceLanguagePriority allows you to serve a result page rather than
+# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
+# [in case no accepted languages matched the available variants]
+#
+ForceLanguagePriority Prefer Fallback
+
#
# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# copying them to /your/include/path/, even on a per-VirtualHost basis.
#
+<IfModule mod_negotiation.c>
<IfModule mod_include.c>
Alias /error/ "@@ServerRoot@@/error/"
AddHandler type-map var
Order allow,deny
Allow from all
+ LanguagePriority en es de fr
+ ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
</IfModule>
+</IfModule>
#
# The following directives modify normal HTTP response behavior to
#
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv tw
+#
+# ForceLanguagePriority allows you to serve a result page rather than
+# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
+# [in case no accepted languages matched the available variants]
+#
+ForceLanguagePriority Prefer Fallback
+
#
# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# copying them to /your/include/path/, even on a per-VirtualHost basis.
#
+<IfModule mod_negotiation.c>
<IfModule mod_include.c>
Alias /error/ "@@ServerRoot@@/error/"
AddHandler type-map var
Order allow,deny
Allow from all
+ LanguagePriority en es de fr
+ ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
</IfModule>
+</IfModule>
#
# The following directives modify normal HTTP response behavior.