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

admin6年前IT技术2418

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

 

相关文章

asp移动APP单页应用开发前端后端框架v1.0

asp移动APP单页应用开发前端后端框架v1.0简称aspwn  1.0在线演示 ˂a href="download/aspwn.zip" target="_blank"˃官方下载开发此套框...

本人安装Magento2.4.6安装踩坑大集合

1.痛点1 composer 的版本查看命令输入错误,导致我以为我安装失败 composer --version或者 composer -Vcomposer create-proj...

excel引用另外一个sheet里的数据

公式如下=Sheet3!H6...

使用acme.sh申请Let‘s Encrypt的SSL证书并安装的步骤

在CentOS 7上使用acme.sh申请Let’s Encrypt的SSL证书并安装在Nginx服务器的步骤,可以分为以下几个主要步骤:一、安装acme.sh安装必要的工具:确保你的系统中已安装so...

php输出数组关键技术与JQUERY解析数组

php输出数组关键技术与JQUERY解析数组

 $arr = array();  //声明空数组array_push($arr, $row);//拼接数组echo json_encode($arr, JSON_UNESCAPE...

发表评论    

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