bitnami / vms

Bitnami VMs
https://bitnami.com
Other
203 stars 42 forks source link

wordpress on aws, redirect http to https #1407

Closed KirillSelyak closed 4 months ago

KirillSelyak commented 5 months ago

Platform

AWS

bndiagnostic ID know more about bndiagnostic ID

7b7101fe-f012-71e7-b61f-d7dbbff568d8

bndiagnostic output

✓ Apache: No issues found
✓ Mariadb: No issues found
✓ Connectivity: No issues found
✓ Wordpress: No issues found
? Resources: Found possible issues
✓ Processes: No issues found
✓ Php: No issues found

bndiagnostic was not useful. Could you please tell us why?

not unclear how it might help with redirect issue

Describe your issue as much as you can

I'm trying to follow this instructions https://docs.bitnami.com/aws/apps/wordpress/administration/force-https-apache/ to setup redirect from http to https and it doesn't work. How this one can be troubleshooted?

mdhont commented 5 months ago

The following guide might be of help:

https://docs.bitnami.com/aws/apps/wordpress/administration/force-https-apache/

github-actions[bot] commented 5 months ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 4 months ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

KirillSelyak commented 4 months ago

Sorry, I didn't get or missed a notification about reply. Reply was useless or a kind of joke. I used this guide https://docs.bitnami.com/aws/apps/wordpress/administration/force-https-apache/ and it doesn't work. Actually that is what I initially described in the issue )))

How it could be troubleshooted?

KirillSelyak commented 4 months ago

Found a root cause.
Be sure you setup such settings exactly inside VirtualHost, not inside Directory

Initially I configured it inside Directory and it worked well for redirect from www to not www web address, but it didn't work for redirect from http to https.
When moved these settings from Directory tag to VirtualHost tag then the issue is gone.