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

admin6年前IT技术1721

 <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安装centos7后与windows10共享文件夹

 挂载Windows共享文件夹的方法:1.在windows10宿主机下新建一个共享文件夹,比如叫share_win,并将其设为共享文件夹。2.在CentOS下,执行命令:mount ...

不同思想管理不同员工

不同思想管理不同员工普通员工最重要的是有较强的责任心,能干好交给他们必须完成的基础工作。这些员工也许只要求企业能给一个较高的收入、工作相对稳定且尽可能少地承担各种风险,不能要求他们对企业绝对的忠诚。这...

设置apach多站点的配置方法

 Include conf/vhost/*.conf...

adobe验证屏蔽

127.0.0.1 lmlicenses.wip4.adobe.com  127.0.0.1 lm.licenses.adobe.com  127.0.0.1...

云图框架

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

windows下安装、卸载mysql服务

windows下安装、卸载mysql服务2012年03月09日 16:30:20阅读数:52062 将下载下来的mysql解压到指定目录下(如:d:\mysql)安装服务 在命令行输入d:\...

发表评论    

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