Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

AMP on HTTPS - Redirect from HTTP

  • 603 Views
  • Last Post 17 January 2019
Rac00n posted this 17 January 2019

Is it possible to also start an HTTP instance when HTTPS is configured which will redirect you to the HTTPS instance? Likely known as the Rewrite Enginge in Apache2?

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

When opening the browser and pointing to the HTTP instance instead of HTTPS you get the following error:

ERR_EMPTY_RESPONSE

Which means no data is send on this port.

Mike posted this 17 January 2019

The application server used by AMP isn't able to answer non-encrypted requests while https is enabled at this time. Its something I may dig into but it's not a huge priority right now.

  • Liked by
  • Rac00n
Close