【发布时间】:2013-02-06 16:18:11
【问题描述】:
我的页面中有一些链接。当我在http:// 中打开页面时,它工作得很好(正确地转到http://www.example.com/path/to/page。但是当我在https:// 中打开时,当我点击链接时,它把我带到www.example.com:443/path/to/page,它给了我400 错误:
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
我确定我的链接目标很好(我使用相对路径)。我该如何解决这个问题?
【问题讨论】: