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

admin6年前IT技术1794

 <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>

 

相关文章

pr的设置视频高度宽度的方法

1.在序列里设置具体的比例2.在"效果"-"视频效果"-"变换"---"裁剪"拖到视频里  然后在"...

shadowsocks_install

执行命令:bash <(curl -sL https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadow...

为CMD设置代理

set http_proxy=http://127.0.0.1:10809set https_proxy=http://127.0.0.1:10809永久设置方案先设置好IE代理,cmd执行如下命令:...

汇成民政部门建站CMS系统V3.1

汇成民政部门建站CMS系统V3.1˂a target="_blank" href="download/hcmingzhenv3.1.rar"˃官方下载演示地址:ceshi/zhengfucmsv1/后...

IPI得分监控

 IPI 350分以上库存量不受限制每个季度重新评估一次库存超额费用将按每立方英尺每月10美元的费率收取。得分等于或高于350的卖家库存量没有限制,但仍然要正常交FBA短期和长期仓储费用。上...

centos7 配置秘钥登录

默认情况下, 我同时允许密码和秘钥登录, 所有不用改配置文件.第一步, 先 生成秘钥对, ssh-keygen, 一路回车即可.然后在 ~/.ssh 目录下会发现两个文件...

发表评论    

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