From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

Apache-LangPrefCookie version 1.03
==================================
DESCRIPTION
This module looks for a cookie providing a language-code as its value.
This preference is then implanted into httpd's representation of the
Accept-Language header, just as if the client had asked for it as #1
choice. The original preferences are still present, albeit with lowered
q-values. The cookie's name is configurable, as described in the
examples. Setting/modifying/deleting such a cookie is to be handled
separately; Apache::LangPrefCookie just consumes it.
After that, it's up to httpd's mod_negotiation to choose the best
deliverable representation.
CHANGES
0.05 - first released Version.
1.00 - fix typo in regexp
- cleanup Makefile.PL, Perl >= 5.6.0 required.
- fix README, docs clarification
- more tests
1.01 - set Vary header if needed
- updated references to Apache2 in the pod
1.02 - set Vary header whenever handler is run
1.03 - avoid $` (dada)
- avoid warnings about uninitialised strings
- fix PREREQ_PM
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This module requires these other modules and libraries:
mod_perl, libapreq
COPYRIGHT AND LICENCE
Put the correct copyright and licence information here.
Copyright (C) 2005-2008 by Hansjoerg Pehofer
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.7 or,
at your option, any later version of Perl 5 you may have available.