apache配置SSL以及同一站点多端口配置

admin6年前IT技术2833

 <VirtualHost *:443> 

 ServerName www.ilikegoodproducts.com
 DocumentRoot "C:\Users\Administrator\Desktop\000" 
 DirectoryIndex index.html index.php 
 SSLEngine On
 SSLCertificateChainFile   "C:\phpserver\Apache24\conf\ssl\***.crt"
 SSLCertificateFile  "C:\phpserver\Apache24\conf\ssl\***.crt"   
 SSLCertificateKeyFile   "C:\phpserver\Apache24\conf\ssl\***.key"  
<Directory "C:\Users\Administrator\Desktop\website\000"> 
  Options -Indexes +FollowSymlinks 
  AllowOverride All 
  Require all granted 
 </Directory>  
</VirtualHost>
多端口,设置多个VirtualHost
 <VirtualHost *:80> 
</VirtualHost>

 

相关文章

美国人喜欢自己动手装修房子

参考文献::http://www.sohu.com/a/291910017_100085730原因有三:1.美国人工贵       ...

vb设置全屏与设置退出--快捷键

退出VB   unload meVB全屏:Form1.Left = 0Form1.Top = 0Form1.Width = Screen.WidthForm1.Height = S...

MYSQL删除数据库记录为空

delete from  name where fy_cn is NULL || LENGTH(trim(fy_cn))=1 MySql判断是否为null或空字符串 &n...

MySQL 日期类型及默认设置 (除timestamp类型外,系统不支持其它时间类型字段设置默认值)

MySQL 日期类型及默认设置  (除timestamp类型外,系统不支持其它时间类型字段设置默认值) MySQL 日期类型及默认设置之前在用 MySQL 新建 table,创建日...

二维码生成导航

http://twoyn.shengmake.nethttp://twalabo.shengmake.nethttp://twyilang.shengmake.nethttp://twyindu.sh...

腾讯企业邮箱不能发送邮件到gmail的解决方案

您好,由于收件方邮箱收信策略调整,要求发件方的域名需设置SPF记录、DKIM记录、DMARC记录,请登录域名管理后台设置以下解析后再发信,具体设置方法可参考: 1、SPF记录设置方法:什么是SPF?如...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。