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

admin6年前IT技术1928

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

 

相关文章

在hyper-v安装centos7后与windows10共享文件夹

 挂载Windows共享文件夹的方法:1.在windows10宿主机下新建一个共享文件夹,比如叫share_win,并将其设为共享文件夹。2.在CentOS下,执行命令:mount ...

Android Studio4.1.3设置app全屏

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

macbook安装window10 之后导致键盘P键失效与声卡没有声音的解决方案.

macbook安装window10 之后导致键盘P键失效与声卡没有声音解决方案:macbook启动的时候,同时按住command+r键,进入恢复模式大概20分钟之后,按键失效的问题就能解决了,如果声卡...

excel在第三个空格插入数据

=LEFT(RIGHT(C63,LEN(C63)-FIND(" ",C63,FIND(" ",C63,FIND(" ",C63)+1)+1)...

二维码生成导航

http://twoyn.shengmake.nethttp://twalabo.shengmake.nethttp://twyilang.shengmake.nethttp://twyindu.sh...

发表评论    

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