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

admin6年前IT技术2181

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

 

相关文章

虾苗

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

云图框架

 https://themes.getbootstrap.com/云图框架 ...

MYSQL带存储过程备份命令

命令中要加-R mysqldump -u root -p -R 数据库名称 > 备份文件名.sql...

火车头正则过滤emoji表情

由于火车头是C#开发的,所以大家写不了正则,就要在网上搜索C#正则过滤emoji表情 正则表达式如下\p{Cs}这个比较不错下面2个作为补充(\ud83c[\udf00-\udfff])|(...

windows 10清除系统盘,增加系统盘空间的方法

管理员模式cmd  执行 powercfg.exe /hibernate off虚拟内存大小设置为100-120MB     &n...

设置apach多站点的配置方法

 Include conf/vhost/*.conf...

发表评论    

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