View Single Post
Old 10th August 2009, 15:38
moglia moglia is offline
Join Date: Apr 2009
Posts: 92
Thanks: 7
Thanked 15 Times in 11 Posts
Lightbulb httpd and phpmyadmin recirect issue

I generated certificate at and used it on 8080 port changes ispconfig.vhost to use certificate. (segure open ssl).

Im using debian and phpmyadmin package donīt have autoconfigurations to put phpmyadmin alias to https. Only for http.

Itīs make sense for use the same certificate if ispconfig operates with ssl put phpmyadmin alias on same virtual host used by ispconfig.

phpmyadmin and ispconfig can share the same host and certificate and all operate on secure connections. because both sending password over networks.

Im copy and paste /etc/apache2/conf.d/phpmyadmin.conf on
/etc/apache2/sites-available/ispconfig.vhost now works perfectlly.

i modified the file on /interface/web/sites/database_phpmyadmin.php to reflect this modifications and tested on debian not on another distros and uploaded to svn.

isset($_SERVER['HTTPS'])? $http = 'https' : $http = 'http';
($_SERVER["SERVER_PORT"] != '80' and $http == 'https')? $serverPort = ':'.$_SERVER["SERVER_PORT"] : $serverPort = '';
If using segure conections phpmyadmin alias not configured on 443 port (apache2) by default to recive url rediretion. The idea is put alias on same ispconfig host if you using ispconfig with ssl.

Another sugestion is if ispconfig is on https redirect to phpmyadmin on http.
I belive keep all on secure connection itīs better way.

Please give-me a feedback of this modifications, i considered itīs make more sense about phpmyadmin and work with ispconfig.

Itīs a simple modification at the end of file but i can not check impact of this modification on another distros.

Sugestions and comments will be apreciated.
Reply With Quote
Sponsored Links