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

admin6年前IT技术1704

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

 

相关文章

为CMD设置代理

set http_proxy=http://127.0.0.1:10809set https_proxy=http://127.0.0.1:10809永久设置方案先设置好IE代理,cmd执行如下命令:...

centos7创建ikev2

centos7创建ikev2

sh文件下载install-ikev2.zip---需要2个内核转发命令2install-ikev2.zipchmod +x  ./mine.sh导入 CA 证书把服务器上的 CA 文件&n...

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

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

通俗易懂 一文搞懂IoT Wifi配网 —— ESP32/ESP8266 基于MicroPython Wifi配网详解

通俗易懂 一文搞懂IoT Wifi配网 —— ESP32/ESP8266 基于MicroPython Wifi配网详解

我们购买智能家居产品后,买回来拆箱后第一件事通常就是给这个新的硬件进行配网,所谓配网,也就是让这个新的物联网设备联入我们的局域网内,让这个物联网设备可以进行网络通讯。我们在上一篇文章《MicroPyt...

excel参照另一列筛选数据的函数

=IF(ISERROR(VLOOKUP(D7,F:F,1,0)),D7,1) ISERROR防止报错 ...

shadowsocks_install

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

发表评论    

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