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

admin6年前IT技术1590

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

 

相关文章

搭建KMS

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

excel参照另一列筛选数据的函数

=IF(ISERROR(VLOOKUP(D7,F:F,1,0)),D7,1) ISERROR防止报错 ...

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

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

magento1.x开启调试模式

magento1.x开启调试模式

方法一设置:Current Configuration Scope: main website 通过后台控制台来操作,admin->configuration->develope...

phptool phpfmt这两个插件会导致sublime出问题

 phptool 会让sublime产生垃圾文件phpfmt会导致sublime出死机,但是他能修正错误的PHP写法,要区别对待他,但是一个文件页面代码多了,他会导致sublime死机...

发表评论    

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