]> git.evergreen-ils.org Git - Evergreen.git/commit
Set locale properly in Apache configuration
authorDan Scott <dscott@laurentian.ca>
Tue, 18 Dec 2012 12:39:18 +0000 (07:39 -0500)
committerDan Scott <dscott@laurentian.ca>
Wed, 19 Dec 2012 14:57:23 +0000 (09:57 -0500)
commit0a14b5951e6e80a73daa7d03485cf69513bd82dc
tree4e8f01309f3af301f9d13e88e6b91be1dfa3794a
parent6a154db860444956b413bb3b3a5eaf3cc865ec6b
Set locale properly in Apache configuration

A RewriteCond only applies to the next RewriteRule, while our config was
attempting to apply multiple rules for a single condition. Fix that up
by using skip (S) rules to apply blocks of rules for the condition in
question.

Also, use the HTTP:Accept-Language value directly, rather than relying
on a backreference (which did not seem to be working as desired).

These fixes enable screens like the Register Patron interface to present
field labels from the IDL in the correct locale, whereas previously they
would always default to en-US.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Open-ILS/examples/apache/eg_vhost.conf