[phpMyAdmin]強制使用SSL安全連線
發表於 : 2010-06-04 12:45:27
vi config.inc.php
$cfg['ForceSSL'] = 'true';
$cfg['Servers'][$i]['ssl'] = true;
ln -s ../sites-available/default-ssl default-ssl
a2enmod ssl
/etc/init.d/apache2 restart
http://localhost/phpMyAdmin/
$cfg['ForceSSL'] = 'true';
$cfg['Servers'][$i]['ssl'] = true;
ln -s ../sites-available/default-ssl default-ssl
a2enmod ssl
/etc/init.d/apache2 restart
http://localhost/phpMyAdmin/