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

admin5年前IT技术1383

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

 

相关文章

短链接伪静态

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

系统激活

win10激活 slmgr /skms kms.03k.orgslmgr.vbs -ato        计算机\HKEY_LOCAL_MACHINE...

使用excel的翻译功能

使用excel的翻译功能

1.打开审阅2.打开翻译就可以实现翻译...

etst新上传的产品搜索不到

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

acme.sh 使用文档

acme.sh 使用文档

这是acme.sh的使用文档,介绍了如何使用ACME协议自动管理和获取SSL/TLS证书,包括安装、注册、手动和自动签发证书,以及自动部署和更新证书的过程。ACME是"Automatic C...

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

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

发表评论    

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