DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38892>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38892

           Summary: Content negotiation guide: SetEnvIf example incomplete
                    (leads to caching problems)
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
               URL: http://httpd.apache.org/docs/2.2/content-
                    negotiation.html#better
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Documentation
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Hello,
in section "Fiddling with Quality Values", the following example is given, it
allows negotiation to depend on the contents of a cookie:

SetEnvIf Cookie "language=(.+)" prefer-language=$1

I suggest to change this example to:

  Example:
  SetEnvIf Cookie "language=([a-z-]+)" prefer-language=$1
  Header append Vary cookie

  The addition of the value "cookie" to the "Vary:" header is necessary
  for correct caching of the different versions of the page by browsers
  and HTTP proxies.

It would be nice if Apache automatically added the header when you use SetEnvIf
in this way... oh well.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to