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

admin6年前IT技术2176

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

 

相关文章

ResetMasterPassword,MobaXterm忘记密码,MobaXterm密码清除工具

ResetMasterPassword,MobaXterm忘记密码,MobaXterm密码清除工具 下载...

php上传路径问题

php图片上传不认"\"C:\Users\Administrator\Desktop\"只认C:/Users/Administrator\Desktop/...

搭建KMS

搭建环境:CentOS7X64。标题说了是两种方法,这里分别为vlmcsd和py-kms,我就先尝试使用vlmcsd来搭建。使用Xshell登录到你的VPS内,先确定一下你这台机器的CPU架构:cat...

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

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

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

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

acme.sh 使用文档

acme.sh 使用文档

这是acme.sh的使用文档,介绍了如何使用ACME协议自动管理和获取SSL/TLS证书,包括安装、注册、手动和自动签发证书,以及自动部署和更新证书的过程。ACME是"Automatic C...

发表评论    

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