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>
Tue, 18 Dec 2012 12:44:19 +0000 (07:44 -0500)
commiteb6da39d7746ac6525d1b53302244e0a2cf6f76b
treeb3c0dc9d0811673867066231d5ab71a90bb9f0a3
parent1b6b03e7b6109c5c698f2a3a1df76f8f3c28d836
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>
Open-ILS/examples/apache/eg_vhost.conf