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

admin6年前IT技术2295

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

 

相关文章

Windows10家庭版添加Hyper-V的详细步骤

Windows10家庭版添加Hyper-V的详细步骤

转http://www.xitongcheng.com/jiaocheng/win10_article_60078.htmlHyper-V是微软提出的一种系统管理程序虚拟化技术,可以降低运作成本、提高...

腾讯企业邮箱不能发送邮件到gmail的解决方案

您好,由于收件方邮箱收信策略调整,要求发件方的域名需设置SPF记录、DKIM记录、DMARC记录,请登录域名管理后台设置以下解析后再发信,具体设置方法可参考: 1、SPF记录设置方法:什么是SPF?如...

MYSQL删除数据库记录为空

delete from  name where fy_cn is NULL || LENGTH(trim(fy_cn))=1 MySql判断是否为null或空字符串 &n...

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

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

shadowsocks_install

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

WINDOWS 10 PPTP服务器的搭建流程

WINDOWS 10 PPTP服务器的搭建流程

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

发表评论    

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