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

admin6年前IT技术2455

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

 

相关文章

未命名

<?phpnamespace Article;class Comment { }namespace MessageBoard;class Comment { }//调用当前空间(MessageB...

pr的设置视频高度宽度的方法

1.在序列里设置具体的比例2.在"效果"-"视频效果"-"变换"---"裁剪"拖到视频里  然后在"...

magento1.x开启调试模式

magento1.x开启调试模式

方法一设置:Current Configuration Scope: main website 通过后台控制台来操作,admin->configuration->develope...

VB封装ASP 记录集

 定义字符VERSION 1.0 CLASSBEGIN  MultiUse = -1  'True ...

15天掌握php

˂a href="download/php/第一课--15天掌握php.zip" target="_blank"˃第一课...

发表评论    

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