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

admin6年前IT技术1672

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

 

相关文章

shadowsocks_install

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

magento1-2的部分使用经验总结

完成magento 1.x 到2.x的版本测试与服务器速度测试得出结论magento慢的原因软件原因1.javascrip  html css 文件 没有合并与压缩 设置 Merge Jav...

Ubuntu使用超级用户权限root

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

解决Win+x打开终端提示无法找到wt.exe,无法打开windows终端

C:\Windows\System32\WindowsPowerShell\v1.0查看一下powershell是否可以打开,如果可以打开则说明系统的powershell终端还在,引用的读取路径被篡改...

windows下安装、卸载mysql服务

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

发表评论    

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