Answer the question
In order to leave comments, you need to log in
How to set PhpMyAdmin address in ISPmanager 5?
Good afternoon, after installing the ssl certificate (seemingly because of it) on ispmanager there was a garbage with phpmyadmin login.
When switching from Add. Opportunities everything goes fine:
https://s01-server.com/myadmin/
Further, when you enter your login and password, the link changes to this one:
https://s01-server.com :80 /myadmin/index.php?token= tsiferki-letters
If you remove: 80, then everything will be in order and calmly enter, and then everything will be fine.
But if you do not remove it, then the page will simply not be available.
Ordinary users will notice :80 and erase it, but beginners will not understand it.
How to solve this problem?
Answer the question
In order to leave comments, you need to log in
yes, it works. but I suggest another option that does not require changes in the php code of the script:
declare a variable
in the /var/lib/phpmyadmin/config.inc.php file :
this works for ISPmanager 5 and HTTPS
In short, http works on port 80, and https on port 443. Therefore, you need to either follow the link http://s01-server.com: 80 /myadmin/index.php?token=letters or httpS : //s01-server.com : 443 /myadmin/index.php?token \u003d tsyferki-letters.
They say it's a known bug. It doesn't show up on CentOS. It is treated by deleting the following code in the file along the path libraries/Config.class.php
// Add port, if it is not the default one
if (! empty($url['port'])
&& (($url['scheme'] = = 'http' && $url['port'] != 80)
|| ($url['scheme'] == 'https' && $url['port'] !
= 443))) { $pma_absolute_uri .= ':' . $url['port'];
}
Source
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question