aboutsummaryrefslogtreecommitdiffstats
path: root/community/phpmyadmin/phpmyadmin.apache2.conf
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2018-08-10 14:25:47 +0300
committerAndy Postnikov <apostnikov@gmail.com>2018-08-10 19:48:28 +0300
commit4c248a63b12c14ca800d1407d23b60c2729bd376 (patch)
treeab3fef4c087be0f531f46b82eff7bb1de80dd843 /community/phpmyadmin/phpmyadmin.apache2.conf
parent9a9f57eb8873f8f4ecacdd6572dc56dd50aeb3ad (diff)
downloadaports-4c248a63b12c14ca800d1407d23b60c2729bd376.tar.gz
aports-4c248a63b12c14ca800d1407d23b60c2729bd376.tar.bz2
aports-4c248a63b12c14ca800d1407d23b60c2729bd376.tar.xz
community/phpmyadmin: fix apache2 config and improve
Closes #8088
Diffstat (limited to 'community/phpmyadmin/phpmyadmin.apache2.conf')
-rw-r--r--community/phpmyadmin/phpmyadmin.apache2.conf16
1 files changed, 14 insertions, 2 deletions
diff --git a/community/phpmyadmin/phpmyadmin.apache2.conf b/community/phpmyadmin/phpmyadmin.apache2.conf
index 1c1a5f6498..366544a074 100644
--- a/community/phpmyadmin/phpmyadmin.apache2.conf
+++ b/community/phpmyadmin/phpmyadmin.apache2.conf
@@ -1,7 +1,19 @@
Alias /phpmyadmin "/usr/share/webapps/phpmyadmin"
<Directory "/usr/share/webapps/phpmyadmin">
+ AddDefaultCharset UTF-8
AllowOverride All
Options FollowSymlinks
- Order allow,deny
- Allow from all
+ <IfModule mod_authz_core.c>
+ Require all granted
+ </IfModule>
+</Directory>
+<Directory "/usr/share/webapps/phpmyadmin/libraries">
+ <IfModule mod_authz_core.c>
+ Require all denied
+ </IfModule>
+</Directory>
+<Directory "/usr/share/webapps/phpmyadmin/templates">
+ <IfModule mod_authz_core.c>
+ Require all denied
+ </IfModule>
</Directory>