httpd-ssl的配置:
创新互联是一家专注于成都网站设计、成都网站建设、外贸网站建设与策划设计,汉源网站建设哪家好?创新互联做网站,专注于网站建设十多年,网设计领域的专业建站公司;建站业务涵盖:汉源等地区。汉源做网站价格咨询:13518219792Listen 443
NameVirtualHost *:443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin SSLSessionCache "shmcb:/usr/local/apache/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLMutex "file:/usr/local/apache/logs/ssl_mutex"
DocumentRoot "/xxxx/Span"
ServerName resource-pov.xxx.com
SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile "/usr/local/apache/conf/ssl/server.crt"
SSLCertificateKeyFile "/usr/local/apache/conf/ssl/server.key"
DocumentRoot "/xxxx/pov.xxx.com"
ServerName pov.xxx.com
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile "/usr/local/apache/conf/ssl/server.crt"
SSLCertificateKeyFile "/usr/local/apache/conf/ssl/server.key"
httpd-vhosts.conf的配置:
NameVirtualHost *:80
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/xxxx/Span"
ServerName resource-pov.xxx.com
ServerAlias resource-pov.xxx.com
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://resource-pov.xxx.com/$1 [R=301,L]
ErrorLog "logs/resource-pov.xxx.com-error_log"
CustomLog "logs/resource-pov.xxx.com-access_log" common
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/xxxx/pov.xxx.com"
ServerName pov.xxx.com
ServerAlias pov.xxx.com
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://pov.xxx.com/$1 [R=301,L]
ErrorLog "logs/pov.xxx.com-error_log"
CustomLog "logs/pov.xxx.com-access_log" common
创新互联www.cdcxhl.cn,专业提供香港、美国云服务器,动态BGP最优骨干路由自动选择,持续稳定高效的网络助力业务部署。公司持有工信部办法的idc、isp许可证, 机房独有T级流量清洗系统配攻击溯源,准确进行流量调度,确保服务器高可用性。佳节活动现已开启,新人活动云服务器买多久送多久。