Content negotiation, or more accurately content selection, is
the selection of the document that best matches the clients
capabilities, from one of several available documents. There
@@ -13,11 +13,11 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
type-map) which explicitly lists the files
containing the variants.
-
A type map has the same format as RFC822 mail headers. It
contains document descriptions separated by blank lines, with
lines beginning with a hash character ('#') treated as
@@ -33,7 +33,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The encoding of the file. Apache only recognizes
- encodings that are defined by an AddEncoding directive.
+ encodings that are defined by an AddEncoding directive.
This normally includes the encodings x-compress
for compress'd files, and x-gzip for gzip'd
files. The x- prefix is ignored for encoding
@@ -92,7 +92,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
MultiViews
- A MultiViews search is enabled by the MultiViews Options. If the server receives a
+
A MultiViews search is enabled by the MultiViews Options. If the server receives a
request for /some/dir/foo and
/some/dir/foo does not exist, then the
server reads the directory looking for all files named
@@ -101,8 +101,8 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
content-encodings it would have if the client had asked for one
of them by name. It then chooses the best match to the client's
requirements, and returns that document.
-
+
If set, this directive allows content-negotiated documents
to be cached by proxy servers. This could mean that clients
behind those proxys could retrieve versions of the documents
@@ -118,10 +118,10 @@ cached by proxy servers
CacheNegotiatedDocs did not take an
argument; it was turned on by the presence of the directive by
itself.
-
| Description: | Action to take if a single acceptable document is not
-found | | Syntax: | ForceLanguagePriority None|Prefer|Fallback [Prefer|Fallback] | | Default: | ForceLangaugePriority None | | Context: | server config, virtual host, directory, .htaccess | | Override: | FileInfo | | Status: | Base | | Module: | mod_negotiation | | Compatibility: | Available in version 2.0.30 and later |
|
+
| Description: | Action to take if a single acceptable document is not
+found | | Syntax: | ForceLanguagePriority None|Prefer|Fallback [Prefer|Fallback] | | Default: | ForceLanguagePriority None | | Context: | server config, virtual host, directory, .htaccess | | Override: | FileInfo | | Status: | Base | | Module: | mod_negotiation | | Compatibility: | Available in version 2.0.30 and later |
|
The ForceLanguagePriority directive uses
- the given LanguagePriority to satisfy
+ the given LanguagePriority to satisfy
negotation where the server could otherwise not return a single
matching document.
@@ -134,7 +134,7 @@ found |
Syntax:
variant, en, will be served.
- LanguagePriority en fr de
+ LanguagePriority en fr de
ForceLanguagePriority Prefer
|
@@ -142,12 +142,12 @@ found |
Syntax:
LanguagePriority to serve a valid result, rather than
returning an HTTP result 406 (NOT ACCEPTABLE). If the directives
below were given, and the user's Accept-Language only permitted an
- es langauge response, but such a variant isn't found, then the
+ es language response, but such a variant isn't found, then the
first variant from the LanguagePriority list below will be
served.
- LanguagePriority en fr de
+ LanguagePriority en fr de
ForceLanguagePriority Fallback
|
@@ -156,8 +156,8 @@ found |
Syntax:
that one variant is acceptable, or first available document will be
served if none of the variants matched the client's acceptable list of
languages.
-
| Description: | The precendence of language variants for cases where
-the client does not express a preference | | Syntax: | LanguagePriority MIME-lang [MIME-lang] ... | | Context: | server config, virtual host, directory, .htaccess | | Override: | FileInfo | | Status: | Base | | Module: | mod_negotiation |
|
+
| Description: | The precendence of language variants for cases where
+the client does not express a preference | | Syntax: | LanguagePriority MIME-lang [MIME-lang] ... | | Context: | server config, virtual host, directory, .htaccess | | Override: | FileInfo | | Status: | Base | | Module: | mod_negotiation |
|
The LanguagePriority sets the precedence
of language variants for the case where the client does not
express a preference, when handling a MultiViews request. The list
@@ -172,7 +172,7 @@ the client does not express a preference |
ForceLanguagePriority directive
+ language cannot be determined by any other means or the ForceLanguagePriority directive
is not None. Correctly implemented HTTP/1.1 requests
will mean this directive has no effect.
-
Apache HTTP Server Version 2.0  |