From d0b801b04e2471d0e112fad1a6ed2d779c4800d2 Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Thu, 19 Sep 2019 12:51:28 -0700 Subject: [PATCH] LP#1844720: avoid hard-coded paths in Apache config Signed-off-by: Jeff Davis Signed-off-by: Galen Charlton --- Open-ILS/examples/apache_24/eg_startup.in | 2 +- Open-ILS/examples/apache_24/eg_vhost.conf.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/examples/apache_24/eg_startup.in b/Open-ILS/examples/apache_24/eg_startup.in index 27b1abf23b..89afdfa2fc 100755 --- a/Open-ILS/examples/apache_24/eg_startup.in +++ b/Open-ILS/examples/apache_24/eg_startup.in @@ -17,7 +17,7 @@ use OpenILS::WWW::PhoneList ('@sysconfdir@/opensrf_core.xml'); use OpenILS::WWW::RemoteAuth ('@sysconfdir@/opensrf_core.xml', 'OpenILS::WWW::RemoteAuth::Basic'); # Pass second argument of '1' to enable template caching. -use OpenILS::WWW::PrintTemplate ('/openils/conf/opensrf_core.xml', 0); +use OpenILS::WWW::PrintTemplate ('@sysconfdir@/opensrf_core.xml', 0); # - Uncomment the following 2 lines to make use of the IP redirection code # - The IP file should to contain a map with the following format: diff --git a/Open-ILS/examples/apache_24/eg_vhost.conf.in b/Open-ILS/examples/apache_24/eg_vhost.conf.in index 153735a389..c59d3c2f32 100644 --- a/Open-ILS/examples/apache_24/eg_vhost.conf.in +++ b/Open-ILS/examples/apache_24/eg_vhost.conf.in @@ -883,11 +883,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. - + FallbackResource /eg2/en-US/index.html # fr-CA build -# +# # FallbackResource /eg2/fr-CA/index.html # -- 2.11.0