LP#1775466: improve release notes for the Angular6 app
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 6 Sep 2018 20:26:45 +0000 (16:26 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 6 Sep 2018 21:04:20 +0000 (17:04 -0400)
More needs to be added to eg_vhost.conf when upgrading an
existing installation.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
docs/RELEASE_NOTES_NEXT/Architecture/angular6-app.adoc

index a15583b..80359f3 100644 (file)
@@ -42,6 +42,10 @@ Add the following stanza to /etc/apache2/eg_vhost.conf.
 
 [source,conf]
 --------------------------------------------------------------------------
+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]
+
 <Directory "/openils/var/web/eg2/en-US">                                       
     FallbackResource /eg2/en-US/index.html                                     
 </Directory>