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

admin6年前IT技术1567

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

 

相关文章

在Hyper-V 虚拟机环境设置centos 7固定IP

在Hyper-V 虚拟机环境设置centos 7固定IP

Hyper-V 管理器的自动停止操作的选项里,设置"保持虚拟机状态"如下图所示:...

MobaXterm监控服务器的资源

MobaXterm监控服务器的资源

使用服务器的时候比较喜欢随时查看的服务器资源使用情况,比如内存,CPU,网速,磁盘使用等情况,一次偶然的机会发现了如果你发现你的会话窗口底部没有,可以这样开启: Settings→SSH→勾选Remo...

etst新上传的产品搜索不到

etst新上传的产品搜索不到,原因有如下几个:1:平台没有更新索引--数据库的一种技术,大概需要7天到15天吧,投广告也没有什么用,只能等2.你的SEO有问题,建议学习一下SEO基础知识与etsy的关...

php上传路径问题

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

推广导图

推广导图

  ...

汇成政府建站CMS系统V1.5

汇成政府建站CMS系统V1.5官方下载地址:˂a target="_blank" href="download/zfhuichengv15.rar"˃点击下载演示地址:ceshi/zhengfucms...

发表评论    

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