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

admin6年前IT技术2951

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

 

相关文章

不同思想管理不同员工

不同思想管理不同员工普通员工最重要的是有较强的责任心,能干好交给他们必须完成的基础工作。这些员工也许只要求企业能给一个较高的收入、工作相对稳定且尽可能少地承担各种风险,不能要求他们对企业绝对的忠诚。这...

推广导图

推广导图

  ...

queen

duvet sover一卷布做四十套左右吧...

本人安装Magento2.4.6安装踩坑大集合

1.痛点1 composer 的版本查看命令输入错误,导致我以为我安装失败 composer --version或者 composer -Vcomposer create-proj...

Etsy店铺被封得原因

Etsy店铺被关闭一般有以下几个原因: 1,一个电脑登陆了2个以上的店铺,这样很快就会被关闭的。 2,两个电脑共用一个IP地址,这个被关闭的可能性很高,最好不要这样做。 3,不同的etsy店铺共...

php正则提取中文

<?php$str = "用户名123阿斯蒂芬dfsdf阿道夫";//把结果放在$chinese中//GBK/GB2312使用:preg_match_all("/[...

发表评论    

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