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

admin6年前IT技术1764

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

 

相关文章

L2TP端口

1701,1702,4500,500...

小米手机安装google play store的方法

MIUI的版本必须在>=12.5.9之上没有就必须升级打开账号与同步然后打开谷歌服务就ok了...

搭建apache2.4+php5.6环境

工具下载地址apache2.4 下载地址:http://httpd.apache.org/php5.6 下载地址:http://windows.php.net/download#php-5.6一、安装...

php正则提取中文

<?php$str = "用户名123阿斯蒂芬dfsdf阿道夫";//把结果放在$chinese中//GBK/GB2312使用:preg_match_all("/[...

Android Studio bulid出现乱码的原因与解决方法

 报错是乱码没有设置,不知道是什么原因造成的,点击这个 “放大镜” 或 “双击Shift” 打开这个对话框,并在搜索框内输入 Edit Cus...

centos共享远程目录

服务器端设置:1.安装依赖包 yum -y install nfs*2.修改文件vim /etc/exports   添加如下内容    /要共享的目...

发表评论    

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