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

admin5年前IT技术1292

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

 

相关文章

搭建apache2.4+php5.6环境

工具下载地址apache2.4 下载地址:http://httpd.apache.org/php5.6 下载地址:http://windows.php.net/download#php-5.6一、安装...

汇成免费订单系统V11.5

汇成免费订单系统V11.5***********************************声明:本系统永久免费!!!***********************************官方下载...

火车头正则过滤emoji表情

由于火车头是C#开发的,所以大家写不了正则,就要在网上搜索C#正则过滤emoji表情 正则表达式如下\p{Cs}这个比较不错下面2个作为补充(\ud83c[\udf00-\udfff])|(...

Axure RP 8设置动态面板状态的方法

Axure RP 8设置动态面板状态的方法

设置动态面板状态需要注意鼠标单击需要设置面板状态,而不是显示隐藏,不然无法控制动态面板里的各个元件的显示与隐藏 ˂a href="post/523.html"˃...

mount:is write-protected, mounting read-only解决方案

window10升级之后就遇到mount: **** is write-protected, mounting read-onlymount: cannot mount *** read-only尝试...

汇成机械行业企业网站系统v11.1

汇成机械行业企业网站系统v11.1˂a target="_blank" href="download/jixie/jixiehangye11.rar"˃官方下载汇成企业网站管理系统为中小企业免费建立属...

发表评论    

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