Fix for Debian 10
This commit is contained in:
parent
5f06f75f36
commit
6bd7a12070
3 changed files with 2 additions and 14 deletions
|
@ -934,7 +934,7 @@ function genUbuntuFixes(){
|
|||
fi
|
||||
|
||||
# Ubuntu 18.04 and Debian 10 Fixes
|
||||
if [[ "$distro" == "ubuntu" && "$yrelease" -eq "18" ]] || [[ "$distro" == "debian" && "$yrelease" -eq "10" ]]; then
|
||||
if [[ "$distro" == "ubuntu" && "$yrelease" -eq "18" && "$mrelease" == "04" ]]; then
|
||||
fixQuotaForEmailsPostfix3x
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -559,7 +559,7 @@ function genUbuntuFixes(){
|
|||
fi
|
||||
|
||||
# Ubuntu 18.04 and Debian 10 Fixes
|
||||
if [[ "$distro" == "ubuntu" && "$yrelease" -eq "18" ]] || [[ "$distro" == "debian" && "$yrelease" -eq "10" ]]; then
|
||||
if [[ "$distro" == "ubuntu" && "$yrelease" -eq "18" && "$mrelease" == "04" ]]; then
|
||||
fixQuotaForEmailsPostfix3x
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -25,18 +25,6 @@ Alias /phpmyadmin /usr/share/phpmyadmin
|
|||
|
||||
</Directory>
|
||||
|
||||
# Authorize for setup
|
||||
<Directory /usr/share/phpmyadmin/setup>
|
||||
<IfModule mod_authz_core.c>
|
||||
<IfModule mod_authn_file.c>
|
||||
AuthType Basic
|
||||
AuthName "phpMyAdmin Setup"
|
||||
AuthUserFile /etc/phpmyadmin/htpasswd.setup
|
||||
</IfModule>
|
||||
Require valid-user
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
# Disallow web access to directories that don't need it
|
||||
<Directory /usr/share/phpmyadmin/libraries>
|
||||
Require all denied
|
||||
|
|
Loading…
Reference in a new issue