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

admin6年前IT技术1808

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

 

相关文章

docker的感悟

1.容器是类实例化的对象,镜像是静态的类2.查看正在运行的容器docker ps ,查看所有容器包含停止与暂停的docker ps;3.拉去官方镜像:docker pull 镜像名称4.docker...

短链接伪静态

if (!-f $request_filename){ rewrite (.*) /index.php;}...

汇成民政部门建站CMS系统V3.1

汇成民政部门建站CMS系统V3.1˂a target="_blank" href="download/hcmingzhenv3.1.rar"˃官方下载演示地址:ceshi/zhengfucmsv1/后...

掌握了excel宏开发,开心一下

步骤1.保存为支持宏命令的excel格式2.先录制,3.把重复的操作用for to next的语句段写出来案例如下:Sub Macro5() For i = 9 To 10073  ...

etst新上传的产品搜索不到

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

提取ewebeditor 的图片地址

<Script Language=JavaScript>function doChange(objText, objDrop){ if (!objDrop) return;&nb...

发表评论    

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