Bladeren bron

reject pma setup after install

Serghey Rodin 9 jaren geleden
bovenliggende
commit
1efe457a22
3 gewijzigde bestanden met toevoegingen van 18 en 0 verwijderingen
  1. 6 0
      install/rhel/5/pma/phpMyAdmin.conf
  2. 6 0
      install/rhel/6/pma/phpMyAdmin.conf
  3. 6 0
      install/rhel/7/pma/phpMyAdmin.conf

+ 6 - 0
install/rhel/5/pma/phpMyAdmin.conf

@@ -37,3 +37,9 @@ Alias /phpmyadmin /usr/share/phpMyAdmin
 #        SecRuleInheritance Off
 #    </Directory>
 #</IfModule>
+
+<Directory /usr/share/phpMyAdmin/setup>
+    Order Deny,Allow
+    Deny from All
+    Allow from None
+</Directory>

+ 6 - 0
install/rhel/6/pma/phpMyAdmin.conf

@@ -37,3 +37,9 @@ Alias /phpmyadmin /usr/share/phpMyAdmin
 #        SecRuleInheritance Off
 #    </Directory>
 #</IfModule>
+
+<Directory /usr/share/phpMyAdmin/setup>
+    Order Deny,Allow
+    Deny from All
+    Allow from None
+</Directory>

+ 6 - 0
install/rhel/7/pma/phpMyAdmin.conf

@@ -37,3 +37,9 @@ Alias /phpmyadmin /usr/share/phpMyAdmin
 #        SecRuleInheritance Off
 #    </Directory>
 #</IfModule>
+
+<Directory /usr/share/phpMyAdmin/setup>
+    Order Deny,Allow
+    Deny from All
+    Allow from None
+</Directory>