apache配置ssl的http转https

apache配置文件添加以下字段:
SSLProxyEngine On
SSLEngine on

SSLCertificateFile /home/apache/cloudpayment/conf/certificate/server.crt
SSLCertificateKeyFile /home/apache/cloudpayment/conf/certificate/server.key
SSLCACertificatePath /home/apache/cloudpayment/conf/certificate
SSLCACertificateFile /home/apache/cloudpayment/conf/certificate/ca.crt
SSLVerifyClient none

wordpress更新域名后不可访问的处理办法

1、登录wordpress所在的服务器
2、连接wordpress数据库
select * from wp_options where option_value like '%vm-image%';
3、更新siteurl和home字段对应的信息:
update wp_options set option_value='http://judexie.com' where option_id=1;
update wp_options set option_value='http://judexie.com' where option_id=2;

4、检查已经更新正确
select * from wp_options where option_value like '%vm-image%';
select * from wp_options where option_value like '%jude%';

5、重新管理浏览器登录后确认修改正确