From b4204767da8556a4cb68ee1cbd946909720b7bbb Mon Sep 17 00:00:00 2001 From: Chris Sharp <csharp@georgialibraries.org> Date: Wed, 23 Aug 2017 08:54:47 -0400 Subject: [PATCH] Copy maintenance page to correct directory on Apache 2.4. --- GenaSYS.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GenaSYS.sh b/GenaSYS.sh index acec20b..7162996 100755 --- a/GenaSYS.sh +++ b/GenaSYS.sh @@ -1646,7 +1646,7 @@ for LVS in $MACHINES_LVS_ONLY ### Configure the maintenance page on LVS servers - mkdir -p "$OUTDIR/$LVS/var/www" + mkdir -p "$OUTDIR/$LVS/var/www/html" if $(ls $CUSTOMDIR/maint_page |grep -q "index.html\|index.php") then echo;echo "Installing custom maintenance page on ${LVS}..." @@ -1654,9 +1654,9 @@ for LVS in $MACHINES_LVS_ONLY fi if [ "$CUSTOM_MAINT_PAGE_INDEX" = "y" ] then - cp -f $CUSTOMDIR/maint_page/* "$OUTDIR/$LVS/var/www/" + cp -f $CUSTOMDIR/maint_page/* "$OUTDIR/$LVS/var/www/html" else - cp -f $TEMPLATEDIR/lvs/maint_page/* "$OUTDIR/$LVS/var/www" + cp -f $TEMPLATEDIR/lvs/maint_page/* "$OUTDIR/$LVS/var/www/html" fi -- 2.11.0