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

admin6年前IT技术1589

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

 

相关文章

汇成工商部门建站CMS系统V2.0

汇成工商部门建站CMS系统V2.0后台地址:您的地址/admin/login.asp帐号:admin密码:admin˂a target="_blank" href="download/gongshan...

centos7 关闭防火墙

1、命令行界面输入命令“systemctl status firewalld.service”并按下回车键。2、然后在下方可度以查看得到“active(running)”,此时说明防火墙已经被打开了。...

ubuntu 远程连接 22 端口

安装OpenSSHUbuntu缺省没有安装SSH Server,使用以下命令安装:sudo apt-get install openssh-server openssh-client不过Ubuntu缺...

Android Studio下载sdk失败的解决方案

在浏览器打开这个网站http://ping.chinaz.com/dl.google.com或者:https://www.ping.cn/ping/dl.google.com他会列出一个ip列表,挨个...

传奇私服这近十几年的版权风风雨雨

      自从盛大把韩国的泡菜游戏传奇搞到中国来运营,把盛大拯救了过来,让其赚到了公司第一桶金,但是不知道是何原因,传奇的源代码版本泄露,不清楚是人...

发表评论    

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