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

admin6年前IT技术1858

 <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 上设置 Trojan 客户端

在 CentOS 上设置 Trojan 客户端主要涉及以下几个步骤:1. 安装必需的软件首先,确保你的 CentOS 系统已经安装了基本的网络工具和编译工具。你可以通过以下命令安装它们:sudo yu...

服务器2012打开远程端口,Windows Server 2012远程默认端口3389的修改

服务器2012打开远程端口,Windows Server 2012远程默认端口3389的修改

Window Server2012 修改远程桌面端口号Win + R 输入 regedit 打开注册表编辑器1、修改注册表项1HKEY_LOCAL_MACHINE/System/CurrentCont...

shadowsocks_install

执行命令:bash <(curl -sL https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadow...

2018最新WIN10系统各版本最新激活密匙大全

2018最新WIN10系统各版本最新激活密匙大全

 2018最新WIN10系统各版本最新激活密匙大全  2018最新WIN10系统各版本最新激活密匙大全密钥更新:win10企业版(政府版)400年期限密钥【Enterpr...

WINDOWS 10 PPTP服务器的搭建流程

WINDOWS 10 PPTP服务器的搭建流程

Windows Server 2003/2008/2008 R2的方法是完全一样的,没有任何区别。不过2008 R2系统要先打开服务管理,添加角色,安装“网络策略和访问服务”,...

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

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

发表评论    

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