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

admin6年前IT技术2434

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

 

相关文章

快速安装 docker-compose

代理下载地址(很快)curl -L https://get.daocloud.io/docker/compose/releases/download/1.27.4/docker-compose-`un...

15天掌握php

˂a href="download/php/第一课--15天掌握php.zip" target="_blank"˃第一课...

php正则提取中文

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

centos 秘钥登陆配置

centos 秘钥登陆配置

 准备:2台机器,ip分别为:10.1.80.13     10.1.80.14目的:通过13 ssh远程访问14.无需输入密码1、首先在10.1.80.13上...

Android Studio4.1.3设置app全屏

 Android Studio4.1.3设置app全屏<style name="AppTheme.FullScreen">   ...

女白领发量剩3成 中医:遗传加上压力大常熬夜|女白|领发-社会资讯-川北在线

女白领发量剩3成 中医:遗传加上压力大常熬夜 江苏南京一公司女白领,今年25岁。她因遗传原因,加上平时工作压力大,经常熬夜,脱发严重,现在发量只剩30%。中医魏跃钢说,国内脱发人数非常庞大,多数是20...

发表评论    

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