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

admin6年前IT技术2004

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

 

相关文章

Ubuntu使用超级用户权限root

su认证失败刚刚装完Ubuntu后,root用户默认是被锁定的。此时我们在终端输入su会显示认证失败。解决方法Ubuntu安装完第一件事在终端输入sudo passwd root...

Adobe  2025 破解方法

Adobe 2025 破解方法

Adobe  2022 破解方法 Adobe  2023 破解方法Adobe  2024 破解方法Adobe&...

关于jquery升级至1.8版本之后的兼容问题Uncaught TypeError: $(...).size is not a function

关于jquery升级至1.8版本之后的兼容问题Uncaught TypeError: $(...).size is not a function

之前也遇到过这种问题Uncaught TypeError: $(...).size is not a function  控制台报错如上图,打开Frame.js可以看到里面定义大小...

JS小数运算出现多为小数问题的解决方法

 asfasf Number类型:Number类型是ECMAScript中最常用和最令人关注的类型了;这种类型使用IEEE754格式来表示整数和浮点数值(浮点数值在某些语言中也被成...

yt-dlp+ffmpeg

1. 安装Python和ffmpegPython:安装时把pip和添加系统环境变量都选上ffmpeg:下载好exe文件,把目录添加到系统环境变量就行2. 安装yt-dlppip install yt-...

汇成公安部门建站CMS系统V1.0

汇成公安部门建站CMS系统V1.0后台地址:您的地址/admin/login.asp帐号:admin密码:admin ˂a target="_blank" href="download/HC...

发表评论    

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