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

admin6年前IT技术2150

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

 

相关文章

MYSQL删除数据库记录为空

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

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

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

MYSQL带存储过程备份命令

命令中要加-R mysqldump -u root -p -R 数据库名称 > 备份文件名.sql...

sql语句 REPLACE 区分大小写字母的

 REPLACE  sql语句 REPLACE 区分大小写字母的;要注意...

google apptore在线打包下载工具

https://apkpure.com/cn/apk-downloader-browser-extension?install=true...

在 CentOS 上设置 Trojan 客户端

在 CentOS 上设置 Trojan 客户端主要涉及以下几个步骤:1. 安装必需的软件首先,确保你的 CentOS 系统已经安装了基本的网络工具和编译工具。你可以通过以下命令安装它们:sudo yu...

发表评论    

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