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

admin6年前IT技术2337

 <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共享远程目录

服务器端设置:1.安装依赖包 yum -y install nfs*2.修改文件vim /etc/exports   添加如下内容    /要共享的目...

google关键词规划师的使用方法

第一步:设置国家第二步:设置语言第三部:设置上一步的同语系的关键词 如果没有第一步与第二步  会导致没有关键词提示!!!!...

美国人喜欢自己动手装修房子

参考文献::http://www.sohu.com/a/291910017_100085730原因有三:1.美国人工贵       ...

magento2.3.5 安装与优化过程

 bin/magento setup:install --base-url=https://www.mytinely.com/ \--db-host=localhost --db-name=...

【AFFILIATE】值得新手加入的联盟营销平台

【AFFILIATE】值得新手加入的联盟营销平台

 如果你也希望自己的博客能成为money machine,为你打工赚钱,那联盟营销或许是一个非常好的选择,好消息是,有很多非常可靠的联盟营销平台敞开大门欢迎大家的加盟,不关你是新博主还是已经...

发表评论    

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