I host a forum website in DigitalOcean's cloud servers, using Ubuntu 16.04, Apache 2.4.20, PHP 7.0.8 and MySQL 5.7.12.
I tried to troubleshoot with cURL about what is the problem, these are the results:
And this is the .htaccess of the root directory (/var/www/html/)
HSTS is enabled, and my forum uses HTTPS address as the main board URL.
Location:
header. You have somehow configured your server to respond with that status, but without the header. The lack of the redirect location is the problem.L
flag is missing on theRewriteRule
, the request will be (internally) rewritten again, which I guess is probably messing up the redirect (ie. absentLocation:
header). (?)