phpmyadmin and login via ssl
Hi,
I've a problem with phpmyadmin and login via https. My server is a VPS with Centos 5.5; apache and phpmyadmin are installed with yum: Quote:
https://sql.xxxxxyzyz.org when I type login/password, the URL is automatically redirect to: http://sql.xxxxxyzyz.org so I must manually re-add the "s" in order to succesfully view phpmyadmin. This happens with every browser (Opera, IE, Firefox). Any suggestion? Thankyou! p.s. I also tried to set PmaAbsoluteUri parameter with the URL above, but the problem still occurs.. |
Hi,
There must be mod_rewrite the reason of this behavior. Search for a .htaccess in /var/www/html/phpmyadmin, or wherever you installed phpmyadmin containing rewriting rules to turn https into http. If there is not .htaccess, then look into httpd.conf, or phpmyadmin.conf Regards |
One other thing to check: If I recall correctly, PhpMyAdmin installs the PHP files somewhere in the /usr tree and creates an alias directive for /phpmyadmin to point to this section of the tree. You may need or want to have this alias directive referenced in your vhost for the SSL site only.
Another, potentially more secure option, would be to make this site accessible only via localhost or your LAN and not accessible via the Internet. Then you can use SSH with a socks proxy to connect to your server and then bring PhpMyAdmin up in your web browser. This will help prevent dictionary attacks as myadmin is a commonly attempted service to find given how much damage you can do with it. |
Quote:
I've disabled the DSO mod_rewrite: same behavior. |
Quote:
I'm not using any Alias, I've a dedicated virtual host that points in the actual DocumentRoot (/usr/share/phpmyadmin). |
Hi,
Without posting the rewrite rules and the apache configuration there is not much we can do. You can try to use a .htaccess with: Code:
Options +FollowSymLinks Code:
AllowOverride All Regards |
All times are GMT -5. The time now is 02:20 AM. |