Skip to content

Commit 1efe457

Browse files
author
Serghey Rodin
committed
reject pma setup after install
1 parent 24a687a commit 1efe457

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

install/rhel/5/pma/phpMyAdmin.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,9 @@ Alias /phpmyadmin /usr/share/phpMyAdmin
3737
# SecRuleInheritance Off
3838
# </Directory>
3939
#</IfModule>
40+
41+
<Directory /usr/share/phpMyAdmin/setup>
42+
Order Deny,Allow
43+
Deny from All
44+
Allow from None
45+
</Directory>

install/rhel/6/pma/phpMyAdmin.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,9 @@ Alias /phpmyadmin /usr/share/phpMyAdmin
3737
# SecRuleInheritance Off
3838
# </Directory>
3939
#</IfModule>
40+
41+
<Directory /usr/share/phpMyAdmin/setup>
42+
Order Deny,Allow
43+
Deny from All
44+
Allow from None
45+
</Directory>

install/rhel/7/pma/phpMyAdmin.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,9 @@ Alias /phpmyadmin /usr/share/phpMyAdmin
3737
# SecRuleInheritance Off
3838
# </Directory>
3939
#</IfModule>
40+
41+
<Directory /usr/share/phpMyAdmin/setup>
42+
Order Deny,Allow
43+
Deny from All
44+
Allow from None
45+
</Directory>

0 commit comments

Comments
 (0)