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

admin6年前IT技术1810

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

 

相关文章

magento1.9x在windows10环境下安装遇到的问题及解决方法

win10 wamp环境安装php7126   CURL组件安装之后需要重启电脑,不然不生效apache 开通伪静态功能:需要把#LoadModule access_compat_...

如何不借助任何外在工具快速下载Facebook视频[转]

如何不借助任何外在工具快速下载Facebook视频[转]

Facebook是美国知名的社交媒体平台,其独特的图像与视频分享功能深受广大粉丝的喜爱。如果你也是FB粉,或者仅仅是喜欢别人分享的一些有趣的视频,想要下载下来却也不知如何操作,那么这篇帖子可以帮到你。...

centos7 关闭防火墙

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

关于jquery升级至1.8版本之后的兼容问题Uncaught TypeError: $(...).size is not a function

关于jquery升级至1.8版本之后的兼容问题Uncaught TypeError: $(...).size is not a function

之前也遇到过这种问题Uncaught TypeError: $(...).size is not a function  控制台报错如上图,打开Frame.js可以看到里面定义大小...

linux 挂载win7共享文件夹的方法

mount -t cifs -o user=administrator,password=000000 //192.168.1.2/gongxiang /mnt/share...

shadowsocks_install

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

发表评论    

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