Return-Path: Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 42330 invoked by uid 500); 5 Jan 2003 22:11:15 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: docs@httpd.apache.org Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 42309 invoked by uid 500); 5 Jan 2003 22:11:14 -0000 Delivered-To: apmail-apache-docs@apache.org Delivered-To: apmail-httpd-docs-1.3-cvs@apache.org Date: 5 Jan 2003 22:11:13 -0000 Message-ID: <20030105221113.83163.qmail@icarus.apache.org> From: nd@apache.org To: httpd-docs-1.3-cvs@apache.org Subject: cvs commit: httpd-docs-1.3/htdocs/manual content-negotiation.html X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N nd 2003/01/05 14:11:13 Modified: htdocs/manual content-negotiation.html Log: fixed typos and added anchor id Submitted by: Nobuyuki Morita Revision Changes Path 1.28 +15 -15 httpd-docs-1.3/htdocs/manual/content-negotiation.html Index: content-negotiation.html =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/content-negotiation.html,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- content-negotiation.html 14 Mar 2002 21:31:00 -0000 1.27 +++ content-negotiation.html 5 Jan 2003 22:11:13 -0000 1.28 @@ -414,18 +414,18 @@ dimensions of variance.

You should be aware that the error message returned by Apache is - neccessarily rather terse and might confuse some users (even though it - lists the available alternatives). If you want to avoid users seeing this - error page, you should organize your documents such that a document in a - default language (or with a default encoding etc.) is always returned if a - document is not available in any of the languages, encodings etc. the - browser asked for.

- -

In particular, if you want a document in a default language to - be returned if a document is not available in any of the languages - a browser asked for, you should create a document with no language - attribute set. See Variants with no - Language below for details.

+ neccessarily rather terse and might confuse some users (even though it + lists the available alternatives). If you want to avoid users seeing this + error page, you should organize your documents such that a document in a + default language (or with a default encoding etc.) is always returned if a + document is not available in any of the languages, encodings etc. the + browser asked for.

+ +

In particular, if you want a document in a default language to + be returned if a document is not available in any of the languages + a browser asked for, you should create a document with no language + attribute set. See Variants with no + Language below for details.

Fiddling with Quality @@ -481,7 +481,7 @@ not applied, so requests from browsers which send the correct information to start with work as expected.

-

Variants with no Language

+

Variants with no Language

If some of the variants for a particular resource have a language attribute, and some do not, those variants with no @@ -493,7 +493,7 @@ variant which can be supplied if none of the other variants match the browser's language preferences. This allows you to avoid users seeing a "406" error page if their browser is set to only accept - languages which you do not offer for the ressource that was + languages which you do not offer for the resource that was requested.

For example, consider the situation with Multiviews enabled and @@ -513,7 +513,7 @@ one of foo.en.html or foo.fr.html will be returned. If the browser does not list either en or fr as acceptable, foo.html will be returned instead. If the client requests foo.html - instead, then no negotation will occur since the exact match + instead, then no negotiation will occur since the exact match will be returned. To avoid this problem, it is sometimes helpful to name the "no language" variant foo.html.html to assure that Multiviews and language negotiation will come into play.

--------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org