You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/08/12 08:29:16 UTC

[Bug 64663] New: Please set prefer-language

https://bz.apache.org/bugzilla/show_bug.cgi?id=64663

            Bug ID: 64663
           Summary: Please set prefer-language
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_negotiation
          Assignee: bugs@httpd.apache.org
          Reporter: apache@ohreally.nl
  Target Milestone: ---

Hello,

This page [1] explains how mod_negotiation supports the 'prefer-language'
environment variable. But unfortunately, the module does not set this variable.
This means that currently, if I need to determine the language the server has
selected within the file/script served, I have no other option than to dissect
the DOCUMENT_NAME variable. But since the module has already made the
selection, it's probably trivial to have it set this environment variable.

Thanks for considering,
  Rob


[1] https://httpd.apache.org/docs/2.4/content-negotiation.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64663] Please set prefer-language

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64663

--- Comment #1 from Rob <ap...@ohreally.nl> ---
Thinking beyond my own use case (mod_include, creation of URLs for images,
style sheets and scripts, and design of links), I can imagine that this may not
be desirable in every situation. So I guess that if this is implemented, it
should come with a configuration directive SetPreferLanguage that may be set to
'on' or 'off'.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org