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

admin6年前IT技术1658

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

 

相关文章

sublime编译运行PHP

创建PHP编译系统添加 PHP 的 build system,如图所示, Tools->Build System-> New Build System :新建一个,默认的内容是:{&nbs...

php正则提取中文

<?php$str = "用户名123阿斯蒂芬dfsdf阿道夫";//把结果放在$chinese中//GBK/GB2312使用:preg_match_all("/[...

汇成美容美发会员卡收银管理软件v6.5

汇成美容美发会员卡收银管理软件v6.5A5分流下载本软件为免费软件,大家可以免费使用,但使用的过程中出现的任何问题,作者没有任何的责任;我们通过调研美容美发行业,开发了如下功能的会员卡与收银软件适用于...

mount:is write-protected, mounting read-only解决方案

window10升级之后就遇到mount: **** is write-protected, mounting read-onlymount: cannot mount *** read-only尝试...

IPI得分监控

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

发表评论    

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