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

admin6年前IT技术1710

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

 

相关文章

magento2.x系统加速

magento2.x系统加速

1:在根目录运行以下命令,全站生成静态bin/magento setup:static-content:deploy2:编译整个网站,让网站加速50%  注意事项:要把PHP脚本内存限制设置...

google关键词规划师的使用方法

第一步:设置国家第二步:设置语言第三部:设置上一步的同语系的关键词 如果没有第一步与第二步  会导致没有关键词提示!!!!...

shadowsocks_install

执行命令:bash <(curl -sL https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadow...

excel打开csv 出现乱码怎么解决

1使用记事本打开CSV文件2点击菜单:文件-另存为,编码方式选择ANSI3保存完毕后,再用EXCEL打开这个文件就不会出现乱码的情况...

服务器上使用WMI报 '80041003' Automation 错误的解决办法

服务器上使用WMI报 '80041003' Automation 错误的解决办法

我在网上找的获取cpuid的vb代码,直接在vb中运行正常,我把它打包成dll文件,在asp中引用总是报下面错误 原因:'80041003'  Automation 错误&nbs...

设置apach多站点的配置方法

 Include conf/vhost/*.conf...

发表评论    

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