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

admin6年前IT技术1581

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

 

相关文章

汇成税务部门建站CMS系统V1.0

汇成税务部门建站CMS系统V1.0˂a href="download/hcshuiwuv1.0.rar" target="_blank"˃官方下载后台地址:您的地址/admin/login.asp帐号...

GA设置排除中国的访问ip流量

GA设置排除中国的访问ip流量

1.视图过滤2.细分受众过滤...

汇成民政部门建站CMS系统V3.1

汇成民政部门建站CMS系统V3.1˂a target="_blank" href="download/hcmingzhenv3.1.rar"˃官方下载演示地址:ceshi/zhengfucmsv1/后...

二维码生成导航

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

centos7创建ikev2

centos7创建ikev2

sh文件下载install-ikev2.zip---需要2个内核转发命令2install-ikev2.zipchmod +x  ./mine.sh导入 CA 证书把服务器上的 CA 文件&n...

sublime编译运行PHP

创建PHP编译系统添加 PHP 的 build system,如图所示, Tools->Build System-> New Build System :新建一个,默认的内容是:{&nbs...

发表评论    

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