From 902b83ed52a281e2df53bf587658bfd2dda0c56a Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Wed, 20 Feb 2013 20:20:35 -0500 Subject: [PATCH] Remove "deny from all" line in wordpress config (Missed file in 067323878522df12484c02211e852609185cb4fb) Fixes bug: #1123053 Change-Id: I7c8d8312bfc61c3b31c845bc6d50a296125bdee7 Signed-off-by: Jeff Peeler --- templates/AutoScalingMultiAZSample.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/AutoScalingMultiAZSample.template b/templates/AutoScalingMultiAZSample.template index b7ec6c417b..fd433b5734 100644 --- a/templates/AutoScalingMultiAZSample.template +++ b/templates/AutoScalingMultiAZSample.template @@ -273,10 +273,12 @@ "mysql -u root --password='", { "Ref" : "DBRootPassword" }, "' < /tmp/setup.mysql\n", + "sed -i \"/Deny from All/d\" /etc/httpd/conf.d/wordpress.conf\n", "sed --in-place --e s/database_name_here/", { "Ref" : "DBName" }, "/ --e s/username_here/", { "Ref" : "DBUsername" }, "/ --e s/password_here/", { "Ref" : "DBPassword" }, "/ /usr/share/wordpress/wp-config.php\n", + "systemctl restart httpd.service\n", "# install crontab\n", "crontab /tmp/stats-crontab.txt\n"