<Directory "/usr/share/phpMyAdmin">
Options FollowSymLinks
AllowOverride None
- Order allow,deny
- Allow from all
+
+ # Apache 2.x
+ <IfModule !mod_authz_core.c>
+ Order allow,deny
+ Allow from all
+ </IfModule>
+ # Apache 2.4
+ <IfModule mod_authz_core.c>
+ Require all granted
+ </IfModule>
+
# uncomment if using apache-mod_php
#php_admin_value open_basedir "/etc/webapps/phpMyAdmin/:/usr/share/phpMyAdmin/:/usr/share/phpMyAdmin/css/..:/tmp"
</Directory>