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

admin6年前IT技术1841

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

 

相关文章

Centos7系统pip的安装

介绍pippip 是一个Python包安装与管理工具。yum方式安装pipyum install python-pip -y升级pippip install&n...

magento2.3.5 安装与优化过程

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

google apptore在线打包下载工具

https://apkpure.com/cn/apk-downloader-browser-extension?install=true...

浑浑噩噩从业互联网15年

03-08年纯粹的技术宅男一枚08-18年转行做运营推广-----寻找从网络上怎么把技术变现此后发现了很多互联网推广的知识与秘密,让我从此铁了心从事此职业. 互联网赚钱 游戏  电...

mysql数据库的还原与备份的注意事项

mysqldump -R -u root -p  *** > ***.sql   指定数据库的备份,包括存储过程.mysqldump  -u root -...

centos7 配置秘钥登录

默认情况下, 我同时允许密码和秘钥登录, 所有不用改配置文件.第一步, 先 生成秘钥对, ssh-keygen, 一路回车即可.然后在 ~/.ssh 目录下会发现两个文件...

发表评论    

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