From 1efe457a2230043ed53605726d327f0ee7e337c8 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Fri, 30 Sep 2016 12:27:14 +0300 Subject: [PATCH] reject pma setup after install --- install/rhel/5/pma/phpMyAdmin.conf | 6 ++++++ install/rhel/6/pma/phpMyAdmin.conf | 6 ++++++ install/rhel/7/pma/phpMyAdmin.conf | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/install/rhel/5/pma/phpMyAdmin.conf b/install/rhel/5/pma/phpMyAdmin.conf index 0049ef2b7..b1b6b60d4 100644 --- a/install/rhel/5/pma/phpMyAdmin.conf +++ b/install/rhel/5/pma/phpMyAdmin.conf @@ -37,3 +37,9 @@ Alias /phpmyadmin /usr/share/phpMyAdmin # SecRuleInheritance Off # # + + + Order Deny,Allow + Deny from All + Allow from None + diff --git a/install/rhel/6/pma/phpMyAdmin.conf b/install/rhel/6/pma/phpMyAdmin.conf index 0049ef2b7..b1b6b60d4 100644 --- a/install/rhel/6/pma/phpMyAdmin.conf +++ b/install/rhel/6/pma/phpMyAdmin.conf @@ -37,3 +37,9 @@ Alias /phpmyadmin /usr/share/phpMyAdmin # SecRuleInheritance Off # # + + + Order Deny,Allow + Deny from All + Allow from None + diff --git a/install/rhel/7/pma/phpMyAdmin.conf b/install/rhel/7/pma/phpMyAdmin.conf index 0049ef2b7..b1b6b60d4 100644 --- a/install/rhel/7/pma/phpMyAdmin.conf +++ b/install/rhel/7/pma/phpMyAdmin.conf @@ -37,3 +37,9 @@ Alias /phpmyadmin /usr/share/phpMyAdmin # SecRuleInheritance Off # # + + + Order Deny,Allow + Deny from All + Allow from None +