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

admin6年前IT技术1670

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

 

相关文章

vb设置全屏与设置退出--快捷键

退出VB   unload meVB全屏:Form1.Left = 0Form1.Top = 0Form1.Width = Screen.WidthForm1.Height = S...

excel引用另外一个sheet里的数据

公式如下=Sheet3!H6...

Android Studio下载sdk失败的解决方案

在浏览器打开这个网站http://ping.chinaz.com/dl.google.com或者:https://www.ping.cn/ping/dl.google.com他会列出一个ip列表,挨个...

服务器端安装 Shadowsocks

服务器端安装 Shadowsocks

最简单、能直接用的 Shadowsocks(SS)服务端 + v2rayN 客户端配置教程,加密方式 aes-128-gcm,端口 255998。(假设你是使用 Linux 服务器(Debian/Ub...

新建项目project长时间loading彻底删除Android Studio代理设置

修改 C:\Users\Administrator\.gradle\gradle.properties注释如下的语句#systemProp.http.proxyHost=mirrors.opencas...

facebook登录按钮获取邮箱的方式

由于公司英语商城要做免注册登录,我就想到了facebook,按照官方的文档,一步一步做下去,心情很好,竟然没有坑,但是我高兴的太早了,上线测试了一下发现无法获取用户的邮箱与头像,那有什么用呢.然后就是...

发表评论    

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