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

admin5年前IT技术1451

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

 

相关文章

信息

支付宝:帐号:zhoukouhu@126.com户名: 周扣虎支付宝收款主页:https://me.alipay.com/huicheng 招商银行帐号:6225 8821 1195 501...

Centos7系统pip的安装

介绍pippip 是一个Python包安装与管理工具。yum方式安装pipyum install python-pip -y升级pippip install&n...

汇成公安部门建站CMS系统V1.0

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

云图框架

 https://themes.getbootstrap.com/云图框架 ...

VB生成的ASP封装access数据库dll代码

 这篇文章以VB生成的DLL封装ASP代码来连接数据库(以Access数据库为例)。一般情况下我们在用ASP连接Access的数据库时通常都会进行如下的操作 '//Proconn....

L2TP端口

1701,1702,4500,500...

发表评论    

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