LP#1844720: avoid hard-coded paths in Apache config
authorJeff Davis <jeff.davis@bc.libraries.coop>
Thu, 19 Sep 2019 19:51:28 +0000 (12:51 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 22 Oct 2019 20:30:42 +0000 (16:30 -0400)
Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/examples/apache_24/eg_vhost.conf.in

index 95d0702..dcd5d43 100644 (file)
@@ -855,11 +855,11 @@ 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.
-<Directory "/openils/var/web/eg2/en-US">
+<Directory "@localstatedir@/web/eg2/en-US">
     FallbackResource /eg2/en-US/index.html
 </Directory>
 
 # fr-CA build
-#<Directory "/openils/var/web/eg2/fr-CA">
+#<Directory "@localstatedir@/web/eg2/fr-CA">
 #    FallbackResource /eg2/fr-CA/index.html
 #</Directory>