From: Chris Koeritz Date: Mon, 18 Dec 2017 13:01:41 +0000 (-0500) Subject: added shadow site and more vamps X-Git-Tag: 2.140.106^2~14 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=6d4552cd3fca6d9c2f38f96bd2f7fde8d54c3bf2 added shadow site and more vamps there is now a shadow site blah.cakelampvm.com for every site blah.X, implemented in both standup and teardown but untested. revamp adds apache env vars file now. --- diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index dd9ca882..8bd5eeee 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -132,8 +132,9 @@ if [ -L /etc/apache2/sites-enabled/000-default.conf ]; then rm -f /etc/apache2/sites-available/000-default.conf test_or_die "removing old apache site" - # copy in our new 000 version (which - cp $FEISTY_MEOW_APEX/production/sites/cakelampvm.com/rolling/default_page.001/* \ + # copy in our new version of the default page. +#hmmm: would be nice if this worked without mods for any new version, besides just 001. see apache env var file below for example implem. + cp -f $FEISTY_MEOW_APEX/production/sites/cakelampvm.com/rolling/default_page.001/* \ /etc/apache2/sites-available test_or_die "installing new apache default sites" @@ -217,10 +218,29 @@ mysql -u root -p "$mysql_passwd" <