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

admin6年前IT技术2128

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

 

相关文章

设置nginx不限制域名的访问

关键是listen 80 default;...

15天掌握php

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

win server 2008安装IIS的支持ACCESS的方法

1.设置windows/temp权限  添加user可读写权限2.设置程序池兼容32位3.设置ASP父路径为true...

magento1.9x系统加速

1.设置magento数据库模型 为单表查询:   在System > Configuration > Catalog > FrontEnd设置 ‘U...

在 CentOS 上设置 Trojan 客户端

在 CentOS 上设置 Trojan 客户端主要涉及以下几个步骤:1. 安装必需的软件首先,确保你的 CentOS 系统已经安装了基本的网络工具和编译工具。你可以通过以下命令安装它们:sudo yu...

哈佛大学凌晨4点半的景象,让你明白什么是距离

哈佛大学凌晨4点半的景象,让你明白什么是距离

       哈佛老师经常给学生这样的告诫:如果你想在进入社会后,在任何时候任何场合下都能得心应手并且得到应有的评价,那么你在哈佛的学习期间...

发表评论    

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