I have tried this
But when clicking to phpMyAdmin button in user's DA, a new window is opened with the link https://servername/phpMyAdmin/direc...q35UqMLLRFdxLfFKDacg8h5qywNwD4817BVvYqFx6ssPV then it's redirected 302 to https://servername/phpMyAdmin/index.php with the message "Access to phpMyAdmin is only allowed from control panel". It returns 403 in nginx log.
No other error message. All web, databases are working. Just I cannot access phpmyadmin with that setting.
Any idea? Thanks.
Code:
cd /usr/local/directadmin/
./directadmin set one_click_pma_login 1
service directadmin restart
cd /usr/local/directadmin/custombuild
./build update
./build set phpmyadmin_public no
./build phpmyadmin
./build rewrite_confs
But when clicking to phpMyAdmin button in user's DA, a new window is opened with the link https://servername/phpMyAdmin/direc...q35UqMLLRFdxLfFKDacg8h5qywNwD4817BVvYqFx6ssPV then it's redirected 302 to https://servername/phpMyAdmin/index.php with the message "Access to phpMyAdmin is only allowed from control panel". It returns 403 in nginx log.
No other error message. All web, databases are working. Just I cannot access phpmyadmin with that setting.
Any idea? Thanks.