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

admin6年前IT技术2423

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

 

相关文章

php上传路径问题

php图片上传不认"\"C:\Users\Administrator\Desktop\"只认C:/Users/Administrator\Desktop/...

php输出数组关键技术与JQUERY解析数组

php输出数组关键技术与JQUERY解析数组

 $arr = array();  //声明空数组array_push($arr, $row);//拼接数组echo json_encode($arr, JSON_UNESCAPE...

设置apach多站点的配置方法

 Include conf/vhost/*.conf...

Android Studio下载sdk失败的解决方案

在浏览器打开这个网站http://ping.chinaz.com/dl.google.com或者:https://www.ping.cn/ping/dl.google.com他会列出一个ip列表,挨个...

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

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

虾苗

  (1)虾苗要规格整齐规格不整齐的虾投放后,在养殖中后 期不仅会出现大虾欺小虾现象,而且由于大小虾蜕壳很不整齐, 易导致自相残食。稚虾规格要求在0.8厘米以上,幼虾个...

发表评论    

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