From 1a2dcc119b4485e95ab8067c6c0479bd6ed6cbc5 Mon Sep 17 00:00:00 2001 From: Thomas Stokes Date: Thu, 14 Mar 2024 20:10:19 +0100 Subject: [PATCH] b5979: Write to location the apache user can access. --- .../files/var/www/cgi-bin/reverseProxyHealthcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/environments_scripts/reverse_proxy/files/var/www/cgi-bin/reverseProxyHealthcheck.sh b/configuration/environments_scripts/reverse_proxy/files/var/www/cgi-bin/reverseProxyHealthcheck.sh index 4e48f65d550..601e251fefe 100755 --- a/configuration/environments_scripts/reverse_proxy/files/var/www/cgi-bin/reverseProxyHealthcheck.sh +++ b/configuration/environments_scripts/reverse_proxy/files/var/www/cgi-bin/reverseProxyHealthcheck.sh @@ -36,7 +36,7 @@ MACROS_PATH="/etc/httpd/conf.d/000-macros.conf" IP_REGEX="[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+$" # Extracts which IP is in production. PRODUCTION_IP=$(sed -n -e "s/^Define ${PRODUCTION_IP_NAME}\> \(.*\)$/\1/p" ${MACROS_PATH}) -SUBNET_MASK_SIZE_VAR_LOCATION="/var/cache/subnetMaskSize" +SUBNET_MASK_SIZE_VAR_LOCATION="/var/cache/httpd/subnetMaskSize" if [[ ! -e "$SUBNET_MASK_SIZE_VAR_LOCATION" ]]; then # Get subnet mask size MY_AZ=$( ec2-metadata --availability-zone | grep -o "[a-zA-Z]\+-[a-zA-Z]\+-[0-9a-z]\+\>")