Remove "deny from all" line in wordpress config
(Missed file in 0673238785
)
Fixes bug: #1123053
Change-Id: I7c8d8312bfc61c3b31c845bc6d50a296125bdee7
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
This commit is contained in:
parent
ec325a6931
commit
902b83ed52
@ -273,10 +273,12 @@
|
|||||||
"mysql -u root --password='", { "Ref" : "DBRootPassword" },
|
"mysql -u root --password='", { "Ref" : "DBRootPassword" },
|
||||||
"' < /tmp/setup.mysql\n",
|
"' < /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" },
|
"sed --in-place --e s/database_name_here/", { "Ref" : "DBName" },
|
||||||
"/ --e s/username_here/", { "Ref" : "DBUsername" },
|
"/ --e s/username_here/", { "Ref" : "DBUsername" },
|
||||||
"/ --e s/password_here/", { "Ref" : "DBPassword" },
|
"/ --e s/password_here/", { "Ref" : "DBPassword" },
|
||||||
"/ /usr/share/wordpress/wp-config.php\n",
|
"/ /usr/share/wordpress/wp-config.php\n",
|
||||||
|
"systemctl restart httpd.service\n",
|
||||||
|
|
||||||
"# install crontab\n",
|
"# install crontab\n",
|
||||||
"crontab /tmp/stats-crontab.txt\n"
|
"crontab /tmp/stats-crontab.txt\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user