From d92013a9d69bd8d1a51e3ae3885ab8504b05d4e0 Mon Sep 17 00:00:00 2001 From: Kyle Warwick-Mathieu Date: Thu, 9 Apr 2015 21:38:33 -0400 Subject: [PATCH] Fixed Apache's FQDN error and added variable to top of file --- server-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server-setup.sh b/server-setup.sh index 09fd4bf..20b3034 100644 --- a/server-setup.sh +++ b/server-setup.sh @@ -12,6 +12,7 @@ mod2="proxy_http.load" mod3="proxy.load" mod4="proxy" #This is a fallback module for use with OS's that don't support mod1, mod2 or mod3 cp="/etc/apache2/sites-enabled" +fqdn="localhost" #Don't forget to install the git package before running this script #Check if run as root if [ "$UID" -ne "$ROOT_UID" ] ; then @@ -56,6 +57,10 @@ if [ $? != "0" ] ; then a2enmod $mod4 fi echo "Great! Everything appears to be set up as far as Apache" +echo "Fixing that nagging Apache FQDN error...." +cat >>/etc/apache2/apache2.conf <