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

admin6年前IT技术1796

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

 

相关文章

centos 秘钥登陆配置

centos 秘钥登陆配置

 准备:2台机器,ip分别为:10.1.80.13     10.1.80.14目的:通过13 ssh远程访问14.无需输入密码1、首先在10.1.80.13上...

google apptore在线打包下载工具

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

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

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

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

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

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

错误0xC004F069非核心版本的计算机上运行slui.exe解决方法

错误0xC004F069非核心版本的计算机上运行slui.exe解决方法

Windows 10系统使用slmgr命令添加密钥时出现错误:“0xC004F069在运行Microsoft Windows非核心版本的计算机上,运行 slui.exe 0x2a 0xC00...

MobaXterm监控服务器的资源

MobaXterm监控服务器的资源

使用服务器的时候比较喜欢随时查看的服务器资源使用情况,比如内存,CPU,网速,磁盘使用等情况,一次偶然的机会发现了如果你发现你的会话窗口底部没有,可以这样开启: Settings→SSH→勾选Remo...

发表评论    

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