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

admin5年前IT技术1376

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

php移动APP单页应用开发前端后端框架v1.0

php移动APP单页应用开发前端后端框架v1.0简称phpwn  1.0在线演示˂a href="download/phpwn.zip" target="_blank"˃官方下载开发此套框架...

汇成外贸建站CMS系统V8.6

汇成外贸建站CMS系统V8.6˂a href="download/hcwaimaov8.6.rar" target="_blank"˃官方下载后台地址:您的地址/admin/login.asp帐号:a...

快速安装 docker-compose

代理下载地址(很快)curl -L https://get.daocloud.io/docker/compose/releases/download/1.27.4/docker-compose-`un...

未命名

<?phpnamespace Article;class Comment { }namespace MessageBoard;class Comment { }//调用当前空间(MessageB...

汇成机械行业企业网站系统v11.1

汇成机械行业企业网站系统v11.1˂a target="_blank" href="download/jixie/jixiehangye11.rar"˃官方下载汇成企业网站管理系统为中小企业免费建立属...

发表评论    

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