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

admin6年前IT技术2364

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

 

相关文章

二维码生成导航

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

php正则提取中文

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

社交营销的核心知识

1.拉新,裂变,自动传播2.价格战,社交形式?3.人:贪小便宜,精确匹配到客户的分类产品[根据大数据]|4.C2B的模式,提高单个SKU的订单量,降低单个相同SKU的生成成本,让用户享受到高品质的产品...

windows 激活

windows 激活

Win7查看系统信息:slmgr.vbs -xpr         键入:slmgr.vbs -ipk FJ82H-XT...

win server 2008安装IIS的支持ACCESS的方法

1.设置windows/temp权限  添加user可读写权限2.设置程序池兼容32位3.设置ASP父路径为true...

Magento2.x 设置前台页面的路径

 解决方案:M2 后台--> STORES --> Configuration --> ADVANCED -->Developer -->Debug --&g...

发表评论    

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