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

admin6年前IT技术2199

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

 

相关文章

Windows10家庭版添加Hyper-V的详细步骤

Windows10家庭版添加Hyper-V的详细步骤

转http://www.xitongcheng.com/jiaocheng/win10_article_60078.htmlHyper-V是微软提出的一种系统管理程序虚拟化技术,可以降低运作成本、提高...

magento2.3.5 安装与优化过程

 bin/magento setup:install --base-url=https://www.mytinely.com/ \--db-host=localhost --db-name=...

王石:宁登一座山,不谋一餐饭

王石:宁登一座山,不谋一餐饭

王石:宁登一座山,不谋一餐饭。听王石讲人情堆里这些年的故事,也曾喝酒喝到胃出血,也曾“行贿未遂”,但还是愿意打造简单、透明、规范的商业王国。登珠峰与吃顿饭,二者孰难孰易?相信一...

magento1.9x系统加速

1.设置magento数据库模型 为单表查询:   在System > Configuration > Catalog > FrontEnd设置 ‘U...

短链接伪静态

if (!-f $request_filename){ rewrite (.*) /index.php;}...

php上传路径问题

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

发表评论    

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