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

admin6年前IT技术1765

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

 

相关文章

excel 批量粘贴图片的方法

1.e2是图片地址在表格下拉,批量输入="<table><img src="&e2&" height=100&nbs...

vps远程桌面调用本地电脑摄像头与声卡的方法

vps远程桌面调用本地电脑摄像头与声卡的方法

vps安装服务器角色:远程桌面会话主机+远程桌面授权打开vps服务windows Audio启动它,并让他自动运行打开vps主策略:允许视频与音频播放重定向打开vps服务器的摄像头权限管理:允许远程桌...

15天掌握php

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

sql语句 REPLACE 区分大小写字母的

 REPLACE  sql语句 REPLACE 区分大小写字母的;要注意...

Adobe  2025 破解方法

Adobe 2025 破解方法

Adobe  2022 破解方法 Adobe  2023 破解方法Adobe  2024 破解方法Adobe&...

WINDOWS 10 PPTP服务器的搭建流程

WINDOWS 10 PPTP服务器的搭建流程

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

发表评论    

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