# through all virtual hosts (port 80, port 443, etc.) should live in here.
# ----------------------------------------------------------------------------------
-
# ----------------------------------------------------------------------------------
# Point / to the opac
# ----------------------------------------------------------------------------------
# ----------------------------------------------------------------------------------
# Run server-side XUL and XHTML through xmlent to load the correct XML entities
# ----------------------------------------------------------------------------------
+<LocationMatch /xul>
+ SetEnvIfNoCase Accept-Language "en" locale=en-US
+ SetEnvIfNoCase Accept-Language "fr-CA" locale=fr-CA
+ SetEnvIfNoCase Accept-Language "hy-AM" locale=hy-AM
+</LocationMatch>
+
<LocationMatch /xul/.*\.xhtml$>
Options +Includes
XMLEntEscapeScript "no"
AddOutputFilter INCLUDES;XMLENT .xhtml
allow from all
-
- # We only support one locale (en-US) for the time being
- SetEnv locale en-US
</LocationMatch>
<LocationMatch /xul/.*\.xul$>
XMLEntContentType "application/vnd.mozilla.xul+xml"
AddOutputFilter INCLUDES;XMLENT .xul
allow from all
-
- # We only support one locale (en-US) for the time being
- SetEnv locale en-US
</LocationMatch>
# ----------------------------------------------------------------------------------
<LocationMatch /reports/>
Options +Includes
- SetEnvIfNoCase Accept-Language "en" locale=en-US
- SetEnvIfNoCase Accept-Language "fr-CA" locale=fr-CA
- SetEnvIfNoCase Accept-Language "hy-AM" locale=hy-AM
+ SetEnvIfNoCase Accept-Language "en" locale=en-US
+ SetEnvIfNoCase Accept-Language "fr-CA" locale=fr-CA
+ SetEnvIfNoCase Accept-Language "hy-AM" locale=hy-AM
AddOutputFilter INCLUDES .xhtml
AddOutputFilter INCLUDES;XMLENT .xml
</LocationMatch>