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

admin6年前IT技术1737

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

 

相关文章

汇成免费订单系统V11.5

汇成免费订单系统V11.5***********************************声明:本系统永久免费!!!***********************************官方下载...

王石:宁登一座山,不谋一餐饭

王石:宁登一座山,不谋一餐饭

王石:宁登一座山,不谋一餐饭。听王石讲人情堆里这些年的故事,也曾喝酒喝到胃出血,也曾“行贿未遂”,但还是愿意打造简单、透明、规范的商业王国。登珠峰与吃顿饭,二者孰难孰易?相信一...

queen

duvet sover一卷布做四十套左右吧...

php上传路径问题

php图片上传不认"\"C:\Users\Administrator\Desktop\"只认C:/Users/Administrator\Desktop/...

php DOMXPath抓取div标签的值的方法

 <?php $url="####";$amz_url=file_get_contents($url);$dom = new DOMDocument();...

MYSQL删除数据库记录为空

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

发表评论    

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