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

admin6年前IT技术2745

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

 

相关文章

为CMD设置代理

set http_proxy=http://127.0.0.1:10809set https_proxy=http://127.0.0.1:10809永久设置方案先设置好IE代理,cmd执行如下命令:...

掌握了excel宏开发,开心一下

步骤1.保存为支持宏命令的excel格式2.先录制,3.把重复的操作用for to next的语句段写出来案例如下:Sub Macro5() For i = 9 To 10073  ...

汇成工商部门建站CMS系统V2.0

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

腾讯企业邮箱不能发送邮件到gmail的解决方案

您好,由于收件方邮箱收信策略调整,要求发件方的域名需设置SPF记录、DKIM记录、DMARC记录,请登录域名管理后台设置以下解析后再发信,具体设置方法可参考: 1、SPF记录设置方法:什么是SPF?如...

发表评论    

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