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

admin6年前IT技术2379

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

 

相关文章

汇成政府建站CMS系统V1.5

汇成政府建站CMS系统V1.5官方下载地址:˂a target="_blank" href="download/zfhuichengv15.rar"˃点击下载演示地址:ceshi/zhengfucms...

windows11 的windows安全中心 无法打开

解决方案:1.使用管理员权限从搜索或开始菜单中打开 Windows PowerShell。2.复制并粘贴Get-AppxPackage Microsoft.SecHealthUI -AllUsers...

yt-dlp+ffmpeg

1. 安装Python和ffmpegPython:安装时把pip和添加系统环境变量都选上ffmpeg:下载好exe文件,把目录添加到系统环境变量就行2. 安装yt-dlppip install yt-...

汇成减速机行业建站CMS系统v13.1

汇成减速机行业建站CMS系统v13.1˂a target="_blank" href="download/jixie/jiexiejsjv131.rar"˃官方下载汇成企业网站管理系统为中小企业免费建...

搭建KMS

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

docker的感悟

1.容器是类实例化的对象,镜像是静态的类2.查看正在运行的容器docker ps ,查看所有容器包含停止与暂停的docker ps;3.拉去官方镜像:docker pull 镜像名称4.docker...

发表评论    

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