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

admin6年前IT技术1882

 <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;}...

掌握了excel宏开发,开心一下

步骤1.保存为支持宏命令的excel格式2.先录制,3.把重复的操作用for to next的语句段写出来案例如下:Sub Macro5() For i = 9 To 10073  ...

如何不借助任何外在工具快速下载Facebook视频[转]

如何不借助任何外在工具快速下载Facebook视频[转]

Facebook是美国知名的社交媒体平台,其独特的图像与视频分享功能深受广大粉丝的喜爱。如果你也是FB粉,或者仅仅是喜欢别人分享的一些有趣的视频,想要下载下来却也不知如何操作,那么这篇帖子可以帮到你。...

linux 挂载win7共享文件夹的方法

mount -t cifs -o user=administrator,password=000000 //192.168.1.2/gongxiang /mnt/share...

ASP中Connection对像封装dll解决方案

asp代码保密一直是令人头痛的问题,目前没有非常好的解决方案,无非用vb编译成dll,但工作量实在太大,于是一直苦苦寻求着另一种途径。。。  中午,突然灵感一发,“为什么不尝试用加密数据库...

二维码生成导航

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

发表评论    

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