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

admin6年前IT技术1727

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

 

相关文章

短链接伪静态

if (!-f $request_filename){ rewrite (.*) /index.php;}...

queen

duvet sover一卷布做四十套左右吧...

php移动APP单页应用开发前端后端框架v1.0

php移动APP单页应用开发前端后端框架v1.0简称phpwn  1.0在线演示˂a href="download/phpwn.zip" target="_blank"˃官方下载开发此套框架...

ubuntu 远程连接 22 端口

安装OpenSSHUbuntu缺省没有安装SSH Server,使用以下命令安装:sudo apt-get install openssh-server openssh-client不过Ubuntu缺...

批量修改文件后缀名

新建***.bat在里面写入ren *.* *.gif运行***.bat...

centos7 Firewall防火墙开启80端口[转]

 centos7 默认是FirewallD 提供支持网络/防火墙区域(zone)定义网络链接以及接口安全等级的动态防火墙管理工具,利用FirewallD开启80端口操作如下:开启80端口fi...

发表评论    

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