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

admin6年前IT技术2671

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

 

相关文章

为CMD设置代理

set http_proxy=http://127.0.0.1:10809set https_proxy=http://127.0.0.1:10809永久设置方案先设置好IE代理,cmd执行如下命令:...

快速安装 docker-compose

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

GIt后悔药:还原提交操作(谨慎操作)

GIt后悔药:还原提交操作(谨慎操作)

GIt后悔药:还原提交操作(谨慎操作)一、背景:偶尔会遇到git的版本分支的文件被误改的情况,需要还原,此篇文章可能会帮助到你。PS:来理解下 Git 工作区、暂存区和版本库概念,可以更好的理解以下的...

汇成机械行业企业网站系统v11.1

汇成机械行业企业网站系统v11.1˂a target="_blank" href="download/jixie/jixiehangye11.rar"˃官方下载汇成企业网站管理系统为中小企业免费建立属...

15天掌握php

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

ps蒙版失灵的解决方案,ps蒙版失灵的解决方法

ps蒙版失灵的解决方案,ps蒙版失灵的解决方法

 选中蒙板层后,这个点交换下试试  ...

发表评论    

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