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

admin6年前IT技术1627

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

 

相关文章

excel在第三个空格插入数据

=LEFT(RIGHT(C63,LEN(C63)-FIND(" ",C63,FIND(" ",C63,FIND(" ",C63)+1)+1)...

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

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

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

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

win10 连接L2TP win7 连接L2TP遇到的问题

win10 连接L2TP win7 连接L2TP遇到的问题

PSK共享密钥文件位置/etc/ipsec.secretswin10无法链接的问题解决方案HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Se...

Magento2.x 设置前台页面的路径

 解决方案:M2 后台--> STORES --> Configuration --> ADVANCED -->Developer -->Debug --&g...

服务器端安装 Shadowsocks

服务器端安装 Shadowsocks

最简单、能直接用的 Shadowsocks(SS)服务端 + v2rayN 客户端配置教程,加密方式 aes-128-gcm,端口 255998。(假设你是使用 Linux 服务器(Debian/Ub...

发表评论    

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