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
1.01 - set Vary header if needed
1.02 - set Vary header whenever handler is run
1.03 - avoid $` (dada)
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.