I secured the phpMyAdmin Interface via https://www.atlantic.net/vps-hosting/ho ... -centos-8/. The https://www.tecmint.com/wp-content/uplo ... erface.png dialog showed when I use the local IP but when I use the global IP then it show the login page of phpmyadmin!!
For example, when I enter "http://80.90.100.110/phpmyadmin" it never ask me to enter the username and password, but "http://192.168.1.2/phpmyadmin" ask me.
The file content is:
Code: Select all
$ sudo cat /etc/httpd/conf.d/phpmyadmin.conf
Alias /phpmyadmin /usr/share/phpMyAdmin
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
AllowOverride All
<IfModule mod_authz_core.c>
<RequireAny>
Require all granted
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
<Directory /usr/share/phpMyAdmin/setup/>
<IfModule mod_authz_core.c>
<RequireAny>
Require all granted
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>