# ----------------------------------------------------------------------------------
# Point / to the opac - if you have a custom skin or locale, point at it here
# ----------------------------------------------------------------------------------
-RedirectMatch 301 ^/$ /opac/en-US/skin/default/xml/index.xml
+RedirectMatch 301 ^/$ /opac/en-CA/skin/default/xml/index.xml
# ----------------------------------------------------------------------------------
# Point / to the IP address redirector
# #PerlSetVar OILSRedirectSkin "default"
# # OILSRedirectDepth defaults to the depth of the branch that the OPAC was directed to
# #PerlSetVar OILSRedirectDepth "0"
-# #PerlSetVar OILSRedirectLocale "en-US"
+# #PerlSetVar OILSRedirectLocale "en-CA"
# allow from all
#</LocationMatch>
# ----------------------------------------------------------------------------------
# Assign a default locale to the accessible OPAC
# ----------------------------------------------------------------------------------
-RedirectMatch 301 ^/opac/extras/slimpac/start.html$ /opac/en-US/extras/slimpac/start.html
-RedirectMatch 301 ^/opac/extras/slimpac/advanced.html$ /opac/en-US/extras/slimpac/advanced.html
+RedirectMatch 301 ^/opac/extras/slimpac/start.html$ /opac/en-CA/extras/slimpac/start.html
+RedirectMatch 301 ^/opac/extras/slimpac/advanced.html$ /opac/en-CA/extras/slimpac/advanced.html
# ----------------------------------------------------------------------------------
# Configure the gateway
</LocationMatch>
<LocationMatch /opac/extras/>
- # Force to en-US for now to satisfy bbags.xml
- SetEnv locale en-US
+ # Force to en-CA for now to satisfy bbags.xml
+ SetEnv locale en-CA
Options +Includes
AddOutputFilter INCLUDES .xml
AddType application/xhtml+xml .xml
RewriteRule ^/xul/ - [E=locale:%1]
RewriteRule ^/reports/ - [E=locale:%1]
-# Default to en-US if we haven't matched a locale of the form xx-YY
+# Default to en-CA if we haven't matched a locale of the form xx-YY
RewriteCond %{HTTP:Accept-Language} !([a-z]{2}-[A-Z]{2})
-RewriteRule ^/xul/ - [E=locale:en-US]
-RewriteRule ^/reports/ - [E=locale:en-US]
+RewriteRule ^/xul/ - [E=locale:en-CA]
+RewriteRule ^/reports/ - [E=locale:en-CA]
-# Default to en-US if we are just given en
+# Default to en-CA if we are just given en
RewriteCond %{ENV:locale} ^$ [OR]
RewriteCond %{ENV:locale} ^en$
-RewriteRule . - [E=locale:en-US]
+RewriteRule . - [E=locale:en-CA]
<LocationMatch /xul/.*\.x?html$>
Options +Includes
# ----------------------------------------------------------------------------------
# Vandelay importers / exporters (your Web interface to bibliographic travel)
# ----------------------------------------------------------------------------------
-RedirectMatch 301 ^/vandelay/vandelay.xml(.*)$ /vandelay/en-US/vandelay.xml$1
+RedirectMatch 301 ^/vandelay/vandelay.xml(.*)$ /vandelay/en-CA/vandelay.xml$1
RewriteRule ^/vandelay/([a-z]{2}-[A-Z]{2})/(.*)$ /vandelay/$2 [E=locale:$1]