[Bug 64663] New: Please set prefer-language

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 64663] New: Please set prefer-language

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64663] Please set prefer-language

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

--- Comment #1 from Rob <[hidden email]> ---
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: [hidden email]
For additional commands, e-mail: [hidden email]