# Default / en-US.
# No alternate supported cookie provided.
-#RewriteCond %{REQUEST_URI} ^/eg2/
-#RewriteCond %{REQUEST_URI} !^/eg2/([a-z]{2}-[A-Z]{2})/
-#RewriteRule ^/eg2/(.*) https://%{HTTP_HOST}/eg2/en-US/$1 [R=307,L]
+RewriteCond %{REQUEST_URI} ^/eg2/
+RewriteCond %{REQUEST_URI} !^/eg2/([a-z]{2}-[A-Z]{2})/
+RewriteRule ^/eg2/(.*) https://%{HTTP_HOST}/eg2/en-US/$1 [R=307,L]
# en-US build
# This is the only required configuration when only using the default locale.
# Default / en-US.
# No alternate supported cookie provided.
-#RewriteCond %{REQUEST_URI} ^/eg2/
-#RewriteCond %{REQUEST_URI} !^/eg2/([a-z]{2}-[A-Z]{2})/
-#RewriteRule ^/eg2/(.*) https://%{HTTP_HOST}/eg2/en-US/$1 [R=307,L]
+RewriteCond %{REQUEST_URI} ^/eg2/
+RewriteCond %{REQUEST_URI} !^/eg2/([a-z]{2}-[A-Z]{2})/
+RewriteRule ^/eg2/(.*) https://%{HTTP_HOST}/eg2/en-US/$1 [R=307,L]
# en-US build
# This is the only required configuration when only using the default locale.
=== Apache Configuration ===
-* Add the following to /etc/apache2/eg_vhost.conf
-
-[source,conf]
----------------------------------------------------------------------
-<Directory "/openils/var/web/eg2">
- FallbackResource /eg2/index.html
-</Directory>
----------------------------------------------------------------------
+Update /etc/apache2/eg_vhost.conf following the changes at the
+bottom of Open-ILS/examples/apache_24/eg_vhost.conf.in, starting
+with "/eg2/ client setup"
=== Install Node v8
"i18nFormat": "xlf",
"encoding": "UTF-8",
"defaultLanguage": "en",
- "languages": ["en", "fr-CA"],
+ "languages": [
+ "en",
+ "fr-CA"
+ ],
"removeUnusedIds": true,
"supportNgxTranslate": false,
"ngxTranslateExtractionPattern": "@@|ngx-translate",