.htaccess - 从 http 重定向到 https 是否有加密

标签 .htaccess http ssl encryption https

<分区>


这个问题似乎不是关于 a specific programming problem, a software algorithm, or software tools primarily used by programmers 的.如果您认为这个问题是关于 another Stack Exchange site 的主题,您可以发表评论以说明问题可能在哪里得到解答。

关闭 9 年前

我有一个服务器,每个页面都有一个重定向,使用 htacess 来使用 SSL (https)。我的问题是,如果有人输入 url http://www.domain.com/ 怎么办?并重定向到 https://www.domain.com原始请求中发送的信息是否未加密?

最佳答案

was the information sent in the original request un-encrypted?

是的,http://domain.com/ 请求未加密,包含重定向的响应也是如此。 SSL 握手发生在发送任何数据之前,并且在浏览器知道在 SSL 端口上启动 SSL 握手之前,所有内容都是未加密的。

关于.htaccess - 从 http 重定向到 https 是否有加密,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20079557/

上一篇:python - pip安装中文服务器ssl错误

下一篇:c# - 如何在 Machine Root store 中安装 Fiddler 的根证书

相关文章:

java - 关于java中ssl握手和行为的问题

php - 防止使用 Slim Framework 访问 'index.php'

linux - 通过 HTTP 运行更高权限命令的合适方法是什么

.htaccess - htaccess/mod_rewrite/SSL |如果 : http off and (basket or order), 301 https,否则 301 http

c++ - C++ 中的 HttpListener 类?

javascript - Node.js 和 Express.js 错误 : Can't set headers after they are sent

ssl - WebSocket 连接到 'wss://' 失败 : Unexpected response code: 500

Python WSS : chrome not recognizing auto validated certificate

.htaccess - htaccess 子域规则

apache - .htaccess 为父级而不是子级重定向?