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

admin6年前IT技术1555

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

 

相关文章

快速安装 docker-compose

代理下载地址(很快)curl -L https://get.daocloud.io/docker/compose/releases/download/1.27.4/docker-compose-`un...

在Hyper-V 虚拟机环境设置centos 7固定IP

在Hyper-V 虚拟机环境设置centos 7固定IP

Hyper-V 管理器的自动停止操作的选项里,设置"保持虚拟机状态"如下图所示:...

win10卸载服务 在Windows 10系统

在Windows 10系统中卸载服务可以通过以下步骤进行:打开运行窗口。按下Win键+R键,输入“services.msc”后回车,打开服务列表。1在服务列表中,找到需要卸载的服务。服务名称和显示名...

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

MYSQL删除数据库记录为空

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

google apptore在线打包下载工具

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

发表评论    

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