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

admin6年前IT技术1772

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

 

相关文章

火车头正则过滤emoji表情

由于火车头是C#开发的,所以大家写不了正则,就要在网上搜索C#正则过滤emoji表情 正则表达式如下\p{Cs}这个比较不错下面2个作为补充(\ud83c[\udf00-\udfff])|(...

15天掌握php

˂a href="download/php/第一课--15天掌握php.zip" target="_blank"˃第一课...

浑浑噩噩从业互联网15年

03-08年纯粹的技术宅男一枚08-18年转行做运营推广-----寻找从网络上怎么把技术变现此后发现了很多互联网推广的知识与秘密,让我从此铁了心从事此职业. 互联网赚钱 游戏  电...

IOS14.2无法连接l2tp的解决方案,iphone无法连接l2tp的解决方案,配置服务器以将 SHA-256 哈希的输出截断至 128 位

IOS14.2无法连接l2tp的解决方案,iphone无法连接l2tp的解决方案,配置服务器以将 SHA-256 哈希的输出截断至 128 位

 解决方案其实很简单:以centos 7的l2tp方案为例:修改文件/etc/ipsec.conf里的"sha2-truncbug=yes"为"sha2-tru...

汇成税务部门建站CMS系统V1.0

汇成税务部门建站CMS系统V1.0˂a href="download/hcshuiwuv1.0.rar" target="_blank"˃官方下载后台地址:您的地址/admin/login.asp帐号...

汇成游戏发布网站系统v1.1

汇成游戏发布网站系统v1.1˂a href="shengji/gamefbv11.rar" target="_blank"˃官方下载在空余时间开发了一套简单,体积很小的游戏发布网站,由于时间仓促,可能...

发表评论    

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