0
在我的web應用程序,你獲得成功登錄後,通過header('Location: https://domain.com/loggedin')
重定向但是當其完成重定向我到以下網址http://domain.com:443/loggedin
這給(當然)以下錯誤PHP頭位置到https
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.
我有什麼改變?我做錯了什麼或者我需要添加什麼?
http://stackoverflow.com/questions/8801340/php-header-location-redirect-https-to-https-http-to-http – Farkie
看到這個http://security.stackexchange.com/q/46015/35190以及 –
@Farkie我已經看過那個帖子了 – JSHelp