标签:
今天很是郁闷,配置了一个https成功了,但是伪静态不成功,经过多方面查看资料终于配置成功了:
<VirtualHost *:443>
DocumentRoot /var/www/jubao/did/www/api
Alias /Public /var/www/jubao/did/Public
ServerName iras.yibanke.com
<Directory "/var/www/jubao/did/www/api">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /var/www/ssl/iras.yibanke.com/2_iras.yibanke.com.crt
SSLCertificateKeyFile /var/www/ssl/iras.yibanke.com/3_iras.yibanke.com.key
SSLCertificateChainFile /var/www/ssl/iras.yibanke.com/1_root_bundle.crt
</VirtualHost>
标签:
原文地址:http://www.cnblogs.com/niun/p/5345530.html