使用XAMPP启用SSL [英] Enabling SSL with XAMPP

查看:131
本文介绍了使用XAMPP启用SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在遵循本指南尽可能多的
http:// robsnotebook.com/xampp-ssl-encrypt-passwords

I've been following this guide as much as I could http://robsnotebook.com/xampp-ssl-encrypt-passwords .

但是每当我浏览到以https开头的页面时,apache服务器都会回复404 Object Not Found。

However whenever I browse to a page starting with https the apache server replies 404 Object Not Found.

我缺少什么设置?感谢您的帮助。

What setting I am missing? Thanks for any help.

推荐答案

找到答案。在文件 xampp\apache\conf\extra\httpd-ssl.conf 中,在注释 SSL虚拟主机上下文页面意味着在不同的文档根目录下查找https。

Found the answer. In the file xampp\apache\conf\extra\httpd-ssl.conf, under the comment SSL Virtual Host Context pages on port 443 meaning https is looked up under different document root.

只需将文档根目录更改为同一个,问题就解决了。

Simply change the document root to the same one and problem is fixed.

这篇关于使用XAMPP启用SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆